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 IResourceFinder
clazz
- 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 Object
Object.toString()
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.