Module org.apache.wicket.core
Class ClassPathResourceFinder
java.lang.Object
org.apache.wicket.core.util.resource.ClassPathResourceFinder
- All Implemented Interfaces:
IResourceFinder
An
IResourceFinder
that looks in a folder in the classpath.- Author:
- Carl-Eric Menzel
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ClassPathResourceFinder
- Parameters:
prefix
- The path prefix. May be null or empty to look in the classpath root.
-
-
Method Details
-
find
Description copied from interface:IResourceFinder
Looks for a given pathname along this path- Specified by:
find
in interfaceIResourceFinder
- Parameters:
clazz
- The class requesting the resource streampath
- The filename with possible path- Returns:
- The resource stream
-
toString
-