Package org.apache.wicket.core.util.file
Class WebApplicationPath
- java.lang.Object
-
- org.apache.wicket.core.util.file.WebApplicationPath
-
- All Implemented Interfaces:
org.apache.wicket.util.file.IResourceFinder
public final class WebApplicationPath extends java.lang.Object implements org.apache.wicket.util.file.IResourceFinderAnIResourceFinderthat looks in a folder in the webapp context path. It will not load files inside WEB-INF.- Author:
- Johan Compagner, Carl-Eric Menzel
-
-
Constructor Summary
Constructors Constructor Description WebApplicationPath(javax.servlet.ServletContext servletContext, java.lang.String path)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.util.resource.IResourceStreamfind(java.lang.Class<?> clazz, java.lang.String pathname)java.lang.StringtoString()
-
-
-
Method Detail
-
find
public org.apache.wicket.util.resource.IResourceStream find(java.lang.Class<?> clazz, java.lang.String pathname)- Specified by:
findin interfaceorg.apache.wicket.util.file.IResourceFinder- See Also:
IResourceFinder.find(Class, String)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- See Also:
Object.toString()
-
-