|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.file.Path
public class Path
An IResourceFinder that looks for its resources in a filesystem path.
| Constructor Summary | |
|---|---|
Path(Folder folder)
Constructor |
|
Path(String folder)
Constructor |
|
| Method Summary | |
|---|---|
IResourceStream |
find(Class<?> clazz,
String pathname)
Looks for pathname in the provided folder. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Path(String folder)
folder - The folder to look inpublic Path(Folder folder)
folder - The folder to look in| Method Detail |
|---|
public IResourceStream find(Class<?> clazz,
String pathname)
pathname in the provided folder.
find in interface IResourceFinderclazz - The class requesting the resource streampathname - the path to the needed resource. Must be relative to folder
IResourceFinder.find(Class, String)public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||