FindBugs™ 1.3.9

edu.umd.cs.findbugs.classfile.impl
Class AbstractScannableCodeBaseEntry

java.lang.Object
  extended by 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
AbstractScannableCodeBaseEntry()
           
 
Method Summary
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
 

Constructor Detail

AbstractScannableCodeBaseEntry

public AbstractScannableCodeBaseEntry()
Method Detail

getCodeBase

public abstract AbstractScannableCodeBase getCodeBase()
Description copied from interface: ICodeBaseEntry
Get the codebase this codebase entry belongs to.

Specified by:
getCodeBase in interface ICodeBaseEntry
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 interface ICodeBaseEntry
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 interface ICodeBaseEntry
Returns:
the name of the resource

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.