|
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.SingleFileCodeBaseEntry
public class SingleFileCodeBaseEntry
Codebase entry for a single-file codebase.
| Constructor Summary | |
|---|---|
SingleFileCodeBaseEntry(SingleFileCodeBase codeBase)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
ClassDescriptor |
getClassDescriptor()
Return the ClassDescriptor of the class resource accessed by this codebase entry. |
ICodeBase |
getCodeBase()
Get the codebase this codebase entry belongs to. |
int |
getNumBytes()
Get the number of bytes in the resource. |
java.lang.String |
getResourceName()
Get the name of the resource. |
int |
hashCode()
|
java.io.InputStream |
openResource()
Open an input stream reading from the resource. |
void |
overrideResourceName(java.lang.String resourceName)
Override the resource name of this codebase entry. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SingleFileCodeBaseEntry(SingleFileCodeBase codeBase)
codeBase - parent codebase| Method Detail |
|---|
public int getNumBytes()
ICodeBaseEntry
getNumBytes in interface ICodeBaseEntrypublic java.lang.String getResourceName()
ICodeBaseEntry
getResourceName in interface ICodeBaseEntry
public java.io.InputStream openResource()
throws java.io.IOException
ICodeBaseEntry
openResource in interface ICodeBaseEntryjava.io.IOException - if an error occurs reading from the resourcepublic ICodeBase getCodeBase()
ICodeBaseEntry
getCodeBase in interface ICodeBaseEntry
public ClassDescriptor getClassDescriptor()
throws ResourceNotFoundException,
InvalidClassFileFormatException
ICodeBaseEntry
getClassDescriptor in interface ICodeBaseEntryResourceNotFoundException
InvalidClassFileFormatExceptionpublic void overrideResourceName(java.lang.String resourceName)
ICodeBaseEntry
overrideResourceName in interface ICodeBaseEntryresourceName - the new resource namepublic 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 | |||||||||