|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.util.resource.ResourceFinder
org.codehaus.janino.util.resource.ZipFileResourceFinder
public class ZipFileResourceFinder
A ResourceFinder that finds resources in a ZIP file.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.janino.util.resource.ResourceFinder |
|---|
EMPTY_RESOURCE_FINDER |
| Constructor Summary | |
|---|---|
ZipFileResourceFinder(java.util.zip.ZipFile zipFile)
|
|
| Method Summary | |
|---|---|
Resource |
findResource(java.lang.String resourceName)
Find a resource by name and return it as a Resource object. |
java.lang.String |
toString()
|
| Methods inherited from class org.codehaus.janino.util.resource.ResourceFinder |
|---|
findResourceAsStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZipFileResourceFinder(java.util.zip.ZipFile zipFile)
| Method Detail |
|---|
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
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||