ICodeBase
, IScannableCodeBase
, java.lang.AutoCloseable
public class JrtfsCodeBase extends AbstractScannableCodeBase
Modifier and Type | Class | Description |
---|---|---|
static class |
JrtfsCodeBase.JrtfsCodebaseEntry |
|
class |
JrtfsCodeBase.JrtfsCodeBaseIterator |
ICodeBase.Discovered
Constructor | Description |
---|---|
JrtfsCodeBase(ICodeBaseLocator codeBaseLocator,
java.lang.String fileName) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
This method should be called when done using the code base.
|
java.util.Map<java.lang.String,java.lang.Object> |
createPackageToModuleMap(java.nio.file.FileSystem fs) |
|
boolean |
equals(java.lang.Object obj) |
|
java.lang.String |
getPathName() |
Get the filesystem pathname of this codebase.
|
int |
hashCode() |
|
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, translateResourceName
public JrtfsCodeBase(ICodeBaseLocator codeBaseLocator, @Nonnull java.lang.String fileName)
public java.util.Map<java.lang.String,java.lang.Object> createPackageToModuleMap(java.nio.file.FileSystem fs) throws java.io.IOException
java.io.IOException
@CheckForNull public ICodeBaseEntry lookupResource(java.lang.String resourceName)
ICodeBase
resourceName
- name of the resource to look uppublic java.lang.String getPathName()
ICodeBase
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void close()
ICodeBase
public ICodeBaseIterator iterator() throws java.lang.InterruptedException
IScannableCodeBase
java.lang.InterruptedException
SpotBugs is licensed under the LGPL.