Class ZipFileResourceFinder
java.lang.Object
org.codehaus.commons.compiler.util.resource.ResourceFinder
org.codehaus.commons.compiler.util.resource.ZipFileResourceFinder
A
ResourceFinder
that finds resources in a ZIP file.-
Field Summary
FieldsFields inherited from class org.codehaus.commons.compiler.util.resource.ResourceFinder
EMPTY_RESOURCE_FINDER
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.codehaus.commons.compiler.util.resource.ResourceFinder
findResourceAsStream
-
Field Details
-
zipFile
-
-
Constructor Details
-
ZipFileResourceFinder
-
-
Method Details
-
toString
-
findResource
Description copied from class:ResourceFinder
Finds a resource by name and return it as aResource
object.- Specified by:
findResource
in classResourceFinder
- Parameters:
resourceName
- Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class
"- Returns:
null
if the resource could not be found
-