public class ZipFileResourceFinder extends ResourceFinder
ResourceFinder that finds resources in a ZIP file.EMPTY_RESOURCE_FINDER| Constructor | Description |
|---|---|
ZipFileResourceFinder(ZipFile zipFile) |
| Modifier and Type | Method | Description |
|---|---|---|
Resource |
findResource(String resourceName) |
Find a resource by name and return it as a
Resource object. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindResourceAsStreampublic ZipFileResourceFinder(ZipFile zipFile)
public final Resource findResource(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 foundCopyright © 2001–2019. All rights reserved.