Class AbstractScannableCodeBaseEntry
- java.lang.Object
-
- edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBaseEntry
-
- All Implemented Interfaces:
ICodeBaseEntry
- Direct Known Subclasses:
DirectoryCodeBaseEntry
,JrtfsCodeBase.JrtfsCodebaseEntry
,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 AbstractScannableCodeBase
getCodeBase()
Get the codebase this codebase entry belongs to.abstract java.lang.String
getRealResourceName()
java.lang.String
getResourceName()
Get the name of the resource.void
overrideResourceName(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:ICodeBaseEntry
Get the codebase this codebase entry belongs to.- Specified by:
getCodeBase
in 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:ICodeBaseEntry
Override the resource name of this codebase entry.- Specified by:
overrideResourceName
in interfaceICodeBaseEntry
- Parameters:
resourceName
- the new resource name
-
getResourceName
public java.lang.String getResourceName()
Description copied from interface:ICodeBaseEntry
Get the name of the resource.- Specified by:
getResourceName
in interfaceICodeBaseEntry
- Returns:
- the name of the resource
-
-