public static class JrtfsCodeBase.JrtfsCodebaseEntry extends AbstractScannableCodeBaseEntry
| Constructor and Description | 
|---|
| JrtfsCodebaseEntry(java.nio.file.Path next,
                  java.nio.file.Path root,
                  JrtfsCodeBase codebase) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| ClassDescriptor | getClassDescriptor()Return the ClassDescriptor of the class resource accessed by this
 codebase entry. | 
| JrtfsCodeBase | 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() | 
getResourceName, overrideResourceNamepublic JrtfsCodebaseEntry(java.nio.file.Path next,
                          java.nio.file.Path root,
                          JrtfsCodeBase codebase)
public int getNumBytes()
ICodeBaseEntrypublic java.io.InputStream openResource()
                                 throws java.io.IOException
ICodeBaseEntryjava.io.IOException - if an error occurs reading from the resourcepublic JrtfsCodeBase getCodeBase()
ICodeBaseEntrygetCodeBase in interface ICodeBaseEntrygetCodeBase in class AbstractScannableCodeBaseEntrypublic ClassDescriptor getClassDescriptor() throws ResourceNotFoundException, InvalidClassFileFormatException
ICodeBaseEntryResourceNotFoundException - InvalidClassFileFormatException
             if the codebase entry does not reference a valid classfileInvalidClassFileFormatExceptionpublic java.lang.String getRealResourceName()
getRealResourceName in class AbstractScannableCodeBaseEntrypublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectSpotBugs is licensed under the LGPL.