|
FindBugs™ 1.3.4 | |||||||||
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
edu.umd.cs.findbugs.classfile.impl.DirectoryCodeBase
public class DirectoryCodeBase
IScannableCodeBase implementation to read resources from a filesystem directory.
Field Summary |
---|
Fields inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase |
---|
IN_JAR_MANIFEST, IN_SYSTEM_CLASSPATH, NESTED, SPECIFIED |
Constructor Summary | |
---|---|
DirectoryCodeBase(ICodeBaseLocator codeBaseLocator,
java.io.File directory)
Constructor. |
Method Summary | |
---|---|
void |
close()
This method should be called when done using the code base. |
java.lang.String |
getPathName()
Get the filesystem pathname of this codebase. |
ICodeBaseIterator |
iterator()
Get an iterator over the resources in the this code base. |
ICodeBaseEntry |
lookupResource(java.lang.String resourceName)
Look up a resource in this code base. |
java.lang.String |
toString()
|
Methods inherited from class edu.umd.cs.findbugs.classfile.impl.AbstractScannableCodeBase |
---|
addResourceNameTranslation, containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime, translateResourceName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.umd.cs.findbugs.classfile.ICodeBase |
---|
containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime |
Constructor Detail |
---|
public DirectoryCodeBase(ICodeBaseLocator codeBaseLocator, java.io.File directory)
codeBaseLocator
- the codebase locator for this codebasedirectory
- the filesystem directoryMethod Detail |
---|
public ICodeBaseIterator iterator() throws java.lang.InterruptedException
IScannableCodeBase
iterator
in interface IScannableCodeBase
java.lang.InterruptedException
public java.lang.String getPathName()
ICodeBase
getPathName
in interface ICodeBase
public void close()
ICodeBase
close
in interface ICodeBase
public ICodeBaseEntry lookupResource(java.lang.String resourceName)
ICodeBase
lookupResource
in interface ICodeBase
resourceName
- name of the resource to look up
public java.lang.String toString()
toString
in class java.lang.Object
|
FindBugs™ 1.3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |