public class ZipFileCodeBaseEntry extends AbstractScannableCodeBaseEntry
| Constructor and Description |
|---|
ZipFileCodeBaseEntry(ZipFileCodeBase codeBase,
ZipEntry zipEntry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ClassDescriptor |
getClassDescriptor()
Return the ClassDescriptor of the class resource accessed by this
codebase entry.
|
AbstractScannableCodeBase |
getCodeBase()
Get the codebase this codebase entry belongs to.
|
int |
getNumBytes()
Get the number of bytes in the resource.
|
String |
getRealResourceName() |
int |
hashCode() |
InputStream |
openResource()
Open an input stream reading from the resource.
|
String |
toString() |
getResourceName, overrideResourceNamepublic ZipFileCodeBaseEntry(ZipFileCodeBase codeBase, ZipEntry zipEntry)
public int getNumBytes()
ICodeBaseEntrypublic InputStream openResource() throws IOException
ICodeBaseEntryIOException - if an error occurs reading from the resourcepublic AbstractScannableCodeBase getCodeBase()
ICodeBaseEntrygetCodeBase in interface ICodeBaseEntrygetCodeBase in class AbstractScannableCodeBaseEntrypublic String getRealResourceName()
getRealResourceName in class AbstractScannableCodeBaseEntrypublic ClassDescriptor getClassDescriptor()
ICodeBaseEntryCopyright © 2003–2015. All rights reserved.