|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.URLClassPath.LocalArchiveEntry
private static class URLClassPath.LocalArchiveEntry
Classpath entry class to load files from a zip/jar file in the local filesystem.
Field Summary | |
---|---|
private java.util.zip.ZipFile |
zipFile
|
Constructor Summary | |
---|---|
URLClassPath.LocalArchiveEntry(java.lang.String fileName)
|
Method Summary | |
---|---|
java.lang.String |
getURL()
Get filename or URL as string. |
java.io.InputStream |
openStream(java.lang.String resourceName)
Open an input stream to read a resource in the codebase described by this classpath entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.zip.ZipFile zipFile
Constructor Detail |
---|
public URLClassPath.LocalArchiveEntry(java.lang.String fileName) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.io.InputStream openStream(java.lang.String resourceName) throws java.io.IOException
URLClassPath.Entry
openStream
in interface URLClassPath.Entry
resourceName
- name of resource to load: e.g., "java/lang/Object.class"
java.io.IOException
- if an I/O error occurspublic java.lang.String getURL()
URLClassPath.Entry
getURL
in interface URLClassPath.Entry
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |