|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase
public abstract class AbstractScannableCodeBase
Abstract base class for implementations of IScannableCodeBase. Provides an implementation of the getCodeBaseLocator(), containsSourceFiles(), setApplicationCodeBase(), and isApplicationCodeBase() methods.
| Field Summary |
|---|
| Fields inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase |
|---|
IN_JAR_MANIFEST, IN_SYSTEM_CLASSPATH, NESTED, SPECIFIED |
| Constructor Summary | |
|---|---|
AbstractScannableCodeBase(ICodeBaseLocator codeBaseLocator)
|
|
| Method Summary | |
|---|---|
void |
addResourceNameTranslation(java.lang.String origResourceName,
java.lang.String newResourceName)
|
boolean |
containsSourceFiles()
Return whether or not this code base contains any source files. |
ICodeBaseLocator |
getCodeBaseLocator()
Get the codebase locator describing the location of this codebase. |
int |
getHowDiscovered()
Return how this codebase was discovered. |
long |
getLastModifiedTime()
Get timestamp indicating the most recent time when any of the files in the codebase were modified. |
boolean |
isApplicationCodeBase()
Return whether or not this codebase is an application codebase. |
void |
setApplicationCodeBase(boolean isAppCodeBase)
Designate this code base as an application codebase. |
void |
setHowDiscovered(int howDiscovered)
Set how this codebase was discovered. |
void |
setLastModifiedTime(long lastModifiedTime)
Set timestamp indicating the most recent time when any of the files in the codebase were modified. |
java.lang.String |
translateResourceName(java.lang.String resourceName)
|
| 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.IScannableCodeBase |
|---|
iterator |
| Methods inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase |
|---|
close, getPathName, lookupResource |
| Constructor Detail |
|---|
public AbstractScannableCodeBase(ICodeBaseLocator codeBaseLocator)
| Method Detail |
|---|
public ICodeBaseLocator getCodeBaseLocator()
ICodeBase
getCodeBaseLocator in interface ICodeBasepublic boolean containsSourceFiles()
ICodeBase
containsSourceFiles in interface ICodeBasepublic void setApplicationCodeBase(boolean isAppCodeBase)
ICodeBase
setApplicationCodeBase in interface ICodeBaseisAppCodeBase - true if this is an application codebase, false if notpublic boolean isApplicationCodeBase()
ICodeBase
isApplicationCodeBase in interface ICodeBasepublic void setHowDiscovered(int howDiscovered)
ICodeBase
setHowDiscovered in interface ICodeBasehowDiscovered - one of the constants SPECIFIED, NESTED,
IN_JAR_MANIFEST, or IN_SYSTEM_CLASSPATHpublic int getHowDiscovered()
ICodeBase
getHowDiscovered in interface ICodeBasepublic void setLastModifiedTime(long lastModifiedTime)
ICodeBase
setLastModifiedTime in interface ICodeBaselastModifiedTime - timestamp when any codebase files were most-recently modifiedpublic long getLastModifiedTime()
ICodeBase
getLastModifiedTime in interface ICodeBase
public void addResourceNameTranslation(java.lang.String origResourceName,
java.lang.String newResourceName)
public java.lang.String translateResourceName(java.lang.String resourceName)
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||