public class ZipFileCodeBase extends AbstractScannableCodeBase
ICodeBase.Discovered| Constructor and Description |
|---|
ZipFileCodeBase(ICodeBaseLocator codeBaseLocator,
java.io.File file)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
java.lang.String |
toString() |
addLastModifiedTime, addResourceNameTranslation, containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime, translateResourceNamepublic ZipFileCodeBase(ICodeBaseLocator codeBaseLocator, java.io.File file) throws java.io.IOException
codeBaseLocator - the codebase locator for this codebasefile - the File containing the zip file (may be a temp file if the
codebase was copied from a nested zipfile in another codebase)java.io.IOExceptionpublic ICodeBaseEntry lookupResource(java.lang.String resourceName)
ICodeBaseresourceName - name of the resource to look uppublic ICodeBaseIterator iterator()
IScannableCodeBasepublic java.lang.String getPathName()
ICodeBasepublic void close()
ICodeBasepublic java.lang.String toString()
toString in class java.lang.ObjectFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.