public class ClassPathResourceFinder extends Object implements IResourceFinder
IResourceFinder
that looks in a folder in the classpath.Constructor and Description |
---|
ClassPathResourceFinder(String prefix) |
Modifier and Type | Method and Description |
---|---|
IResourceStream |
find(Class<?> clazz,
String path)
Looks for a given pathname along this path
|
String |
toString() |
public ClassPathResourceFinder(String prefix)
prefix
- The path prefix. May be null or empty to look in the classpath root.public IResourceStream find(Class<?> clazz, String path)
IResourceFinder
find
in interface IResourceFinder
clazz
- The class requesting the resource streampath
- The filename with possible pathCopyright © 2006–2022 Apache Software Foundation. All rights reserved.