|
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.AbstractScannableCodeBaseEntry
edu.umd.cs.findbugs.classfile.impl.ZipFileCodeBaseEntry
public class ZipFileCodeBaseEntry
Implementation of ICodeBaseEntry for resources in zipfile codebases.
| Constructor Summary | |
|---|---|
ZipFileCodeBaseEntry(ZipFileCodeBase codeBase,
java.util.zip.ZipEntry zipEntry)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.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. |
java.lang.String |
getRealResourceName()
|
int |
hashCode()
|
java.io.InputStream |
openResource()
Open an input stream reading from the resource. |
java.lang.String |
toString()
|
| Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry |
|---|
getResourceName, overrideResourceName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ZipFileCodeBaseEntry(ZipFileCodeBase codeBase,
java.util.zip.ZipEntry zipEntry)
| Method Detail |
|---|
public int getNumBytes()
ICodeBaseEntry
public java.io.InputStream openResource()
throws java.io.IOException
ICodeBaseEntry
java.io.IOException - if an error occurs reading from the resourcepublic AbstractScannableCodeBase getCodeBase()
ICodeBaseEntry
getCodeBase in interface ICodeBaseEntrygetCodeBase in class AbstractScannableCodeBaseEntrypublic java.lang.String getRealResourceName()
getRealResourceName in class AbstractScannableCodeBaseEntrypublic ClassDescriptor getClassDescriptor()
ICodeBaseEntry
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||