public class ZipFileResourceFinder extends ResourceFinder
ResourceFinder that finds resources in a ZIP file.EMPTY_RESOURCE_FINDER| Constructor and Description |
|---|
ZipFileResourceFinder(java.util.zip.ZipFile zipFile) |
| Modifier and Type | Method and Description |
|---|---|
Resource |
findResource(java.lang.String resourceName)
Find a resource by name and return it as a
Resource object. |
java.lang.String |
toString() |
findResourceAsStreampublic ZipFileResourceFinder(java.util.zip.ZipFile zipFile)
public final java.lang.String toString()
toString in class java.lang.Objectpublic final Resource findResource(java.lang.String resourceName)
ResourceFinderResource object.findResource in class ResourceFinderresourceName - Designates the resource; typically structured by slashes ("/") like
"com/foo/pkg/Bar.class"null if the resource could not be found