|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICodeBaseEntry
Object representing a resource in a code base.
Method Summary | |
---|---|
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. |
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. |
Method Detail |
---|
java.lang.String getResourceName()
int getNumBytes()
java.io.InputStream openResource() throws java.io.IOException
java.io.IOException
- if an error occurs reading from the resourceICodeBase getCodeBase()
ClassDescriptor getClassDescriptor() throws ResourceNotFoundException, InvalidClassFileFormatException
CheckedAnalysisException
- if the codebase entry does not reference a valid classfile
java.lang.IllegalArgumentException
- if the codebase entry's filename is definitely not a classfile
ResourceNotFoundException
InvalidClassFileFormatException
void overrideResourceName(java.lang.String resourceName)
resourceName
- the new resource name
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |