|
||||||||||
| 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 final class Path
Maintains a list of folders as a path.
| Constructor Summary | |
|---|---|
Path()
Constructor |
|
Path(Folder folder)
Constructor |
|
Path(Folder[] folders)
Constructor |
|
| Method Summary | |
|---|---|
void |
add(Folder folder)
|
void |
add(String path)
|
IResourceStream |
find(Class<?> clazz,
String pathname)
Looks for a given pathname along this path |
List<Folder> |
getFolders()
|
int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Path()
public Path(Folder folder)
folder - A single folder to add to the pathpublic Path(Folder[] folders)
folders - An array of folders to add to the path| Method Detail |
|---|
public void add(Folder folder)
folder - Folder to add to pathpublic void add(String path)
add in interface IResourcePathpath - Folder to add to pathIResourcePath.add(java.lang.String)
public IResourceStream find(Class<?> clazz,
String pathname)
IResourceFinder
find in interface IResourceFinderclazz - The class requesting the resource streampathname - The filename with possible path
IResourceFinder.find(Class, String)public List<Folder> getFolders()
public int size()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||