public class DelegatingCodeBaseEntry extends java.lang.Object implements ICodeBaseEntry
| Constructor and Description | 
|---|
| DelegatingCodeBaseEntry(ICodeBase frontEndCodeBase,
                       ICodeBaseEntry delegateCodeBaseEntry) | 
| 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. | 
| 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() | 
public DelegatingCodeBaseEntry(ICodeBase frontEndCodeBase, ICodeBaseEntry delegateCodeBaseEntry)
public int getNumBytes()
ICodeBaseEntrygetNumBytes in interface ICodeBaseEntrypublic java.lang.String getResourceName()
ICodeBaseEntrygetResourceName in interface ICodeBaseEntrypublic java.io.InputStream openResource()
                                 throws java.io.IOException
ICodeBaseEntryopenResource in interface ICodeBaseEntryjava.io.IOException - if an error occurs reading from the resourcepublic ICodeBase getCodeBase()
ICodeBaseEntrygetCodeBase in interface ICodeBaseEntrypublic ClassDescriptor getClassDescriptor() throws ResourceNotFoundException, InvalidClassFileFormatException
ICodeBaseEntrygetClassDescriptor in interface ICodeBaseEntryResourceNotFoundException - InvalidClassFileFormatException
             if the codebase entry does not reference a valid classfileInvalidClassFileFormatExceptionpublic void overrideResourceName(java.lang.String resourceName)
ICodeBaseEntryoverrideResourceName 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.ObjectSpotBugs is licensed under the LGPL.