Class JrtfsCodeBase.JrtfsCodebaseEntry
java.lang.Object
edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry
edu.umd.cs.findbugs.classfile.impl.JrtfsCodeBase.JrtfsCodebaseEntry
- All Implemented Interfaces:
ICodeBaseEntry
- Enclosing class:
JrtfsCodeBase
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry
getResourceName, overrideResourceName
-
Constructor Details
-
JrtfsCodebaseEntry
-
-
Method Details
-
getNumBytes
public int getNumBytes()Description copied from interface:ICodeBaseEntry
Get the number of bytes in the resource. Returns <0 if the number of bytes is not known.- Returns:
- number of bytes in the resource, or <0 if not known.
-
openResource
Description copied from interface:ICodeBaseEntry
Open an input stream reading from the resource.- Returns:
- InputStream reading from the resource.
- Throws:
IOException
- if an error occurs reading from the resource
-
getCodeBase
Description copied from interface:ICodeBaseEntry
Get the codebase this codebase entry belongs to.- Specified by:
getCodeBase
in interfaceICodeBaseEntry
- Specified by:
getCodeBase
in classAbstractScannableCodeBaseEntry
- Returns:
- the codebase this codebase entry belongs to
-
getClassDescriptor
public ClassDescriptor getClassDescriptor() throws ResourceNotFoundException, InvalidClassFileFormatExceptionDescription copied from interface:ICodeBaseEntry
Return the ClassDescriptor of the class resource accessed by this codebase entry. Do not call this method unless ClassDescriptor.isClassResource() returns true. This method may require the class data to be loaded in order to determine the class.- Returns:
- ClassDescriptor of this entry
- Throws:
ResourceNotFoundException
- InvalidClassFileFormatException if the codebase entry does not reference a valid classfileInvalidClassFileFormatException
-
getRealResourceName
- Specified by:
getRealResourceName
in classAbstractScannableCodeBaseEntry
-
hashCode
public int hashCode() -
equals
-
toString
-