|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase
edu.umd.cs.findbugs.classfile.impl.NestedZipFileCodeBase
public class NestedZipFileCodeBase
A scannable code base class for a zip (or Jar) file nested inside some other codebase. These are handled by extracting the nested zip/jar file to a temporary file, and delegating to an internal ZipFileCodeBase that reads from the temporary file.
| Field Summary |
|---|
| Fields inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase |
|---|
IN_JAR_MANIFEST, IN_SYSTEM_CLASSPATH, NESTED, SPECIFIED |
| Constructor Summary | |
|---|---|
NestedZipFileCodeBase(NestedZipFileCodeBaseLocator codeBaseLocator)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
This method should be called when done using the code base. |
java.lang.String |
getPathName()
Get the filesystem pathname of this codebase. |
ICodeBaseIterator |
iterator()
Get an iterator over the resources in the this code base. |
ICodeBaseEntry |
lookupResource(java.lang.String resourceName)
Look up a resource in this code base. |
| Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase |
|---|
addResourceNameTranslation, containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime, translateResourceName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NestedZipFileCodeBase(NestedZipFileCodeBaseLocator codeBaseLocator)
throws ResourceNotFoundException,
java.io.IOException
codeBaseLocator - the codebase locator for this codebase
ResourceNotFoundException
java.io.IOException| Method Detail |
|---|
public ICodeBaseIterator iterator()
throws java.lang.InterruptedException
IScannableCodeBase
java.lang.InterruptedExceptionpublic ICodeBaseEntry lookupResource(java.lang.String resourceName)
ICodeBase
resourceName - name of the resource to look up
public java.lang.String getPathName()
ICodeBase
public void close()
ICodeBase
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||