Package org.apache.wicket.util.file
Class Path
- java.lang.Object
-
- org.apache.wicket.util.file.Path
-
- All Implemented Interfaces:
IResourceFinder
public class Path extends Object implements IResourceFinder
AnIResourceFinderthat looks for its resources in a filesystem path.- Author:
- Jonathan Locke, Carl-Eric Menzel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResourceStreamfind(Class<?> clazz, String pathname)Looks forpathnamein the providedfolder.StringtoString()
-
-
-
Method Detail
-
find
public IResourceStream find(Class<?> clazz, String pathname)
Looks forpathnamein the providedfolder.- Specified by:
findin interfaceIResourceFinder- Parameters:
clazz- The class requesting the resource streampathname- the path to the needed resource. Must be relative tofolder- Returns:
- The resource stream
- See Also:
IResourceFinder.find(Class, String)
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-