Class AbstractScannableCodeBaseEntry
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry
-
- All Implemented Interfaces:
ICodeBaseEntry
- Direct Known Subclasses:
DirectoryCodeBaseEntry,ZipFileCodeBaseEntry,ZipInputStreamCodeBaseEntry
public abstract class AbstractScannableCodeBaseEntry extends java.lang.Object implements ICodeBaseEntry
- Author:
- David Hovemeyer
-
-
Constructor Summary
Constructors Constructor Description AbstractScannableCodeBaseEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract AbstractScannableCodeBasegetCodeBase()Get the codebase this codebase entry belongs to.abstract java.lang.StringgetRealResourceName()java.lang.StringgetResourceName()Get the name of the resource.voidoverrideResourceName(java.lang.String resourceName)Override the resource name of this codebase entry.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.umd.cs.findbugs.classfile.ICodeBaseEntry
getClassDescriptor, getNumBytes, openResource
-
-
-
-
Method Detail
-
getCodeBase
public abstract AbstractScannableCodeBase getCodeBase()
Description copied from interface:ICodeBaseEntryGet the codebase this codebase entry belongs to.- Specified by:
getCodeBasein interfaceICodeBaseEntry- Returns:
- the codebase this codebase entry belongs to
-
getRealResourceName
public abstract java.lang.String getRealResourceName()
-
overrideResourceName
public void overrideResourceName(java.lang.String resourceName)
Description copied from interface:ICodeBaseEntryOverride the resource name of this codebase entry.- Specified by:
overrideResourceNamein interfaceICodeBaseEntry- Parameters:
resourceName- the new resource name
-
getResourceName
public java.lang.String getResourceName()
Description copied from interface:ICodeBaseEntryGet the name of the resource.- Specified by:
getResourceNamein interfaceICodeBaseEntry- Returns:
- the name of the resource
-
-