Package org.apache.wicket.util.file
Class Path
java.lang.Object
org.apache.wicket.util.file.Path
- All Implemented Interfaces:
IResourceFinder
An
IResourceFinder
that looks for its resources in a filesystem path.- Author:
- Jonathan Locke, Carl-Eric Menzel
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Path
Constructor- Parameters:
folder
- The folder to look in
-
Path
Constructor- Parameters:
folder
- The folder to look in
-
-
Method Details
-
find
Looks forpathname
in the providedfolder
.- Specified by:
find
in 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:
-
toString
-