public class DirectoryCodeBase extends AbstractScannableCodeBase
ICodeBase.Discovered| Constructor and Description | 
|---|
| DirectoryCodeBase(ICodeBaseLocator codeBaseLocator,
                 java.io.File directory)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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() | 
addLastModifiedTime, addResourceNameTranslation, containsSourceFiles, getCodeBaseLocator, getHowDiscovered, getLastModifiedTime, isApplicationCodeBase, setApplicationCodeBase, setHowDiscovered, setLastModifiedTime, translateResourceNamepublic DirectoryCodeBase(ICodeBaseLocator codeBaseLocator, java.io.File directory)
codeBaseLocator - the codebase locator for this codebasedirectory - the filesystem directorypublic ICodeBaseIterator iterator() throws java.lang.InterruptedException
IScannableCodeBasejava.lang.InterruptedExceptionpublic java.lang.String getPathName()
ICodeBasepublic void close()
ICodeBasepublic ICodeBaseEntry lookupResource(java.lang.String resourceName)
ICodeBaseresourceName - name of the resource to look uppublic java.lang.String toString()
toString in class java.lang.ObjectSpotBugs is licensed under the LGPL.