public class Path extends Object implements IResourceFinder
IResourceFinder that looks for its resources in a filesystem path.| Constructor and Description |
|---|
Path(Folder folder)
Constructor
|
Path(String folder)
Constructor
|
public Path(String folder)
folder - The folder to look inpublic Path(Folder folder)
folder - The folder to look inpublic 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 folderIResourceFinder.find(Class, String)public String toString()
toString in class ObjectObject.toString()Copyright © 2006–2015 Apache Software Foundation. All rights reserved.