public interface IClassPath
Modifier and Type | Method and Description |
---|---|
void |
addCodeBase(ICodeBase codeBase)
Add a codebase.
|
java.util.Iterator<? extends ICodeBase> |
appCodeBaseIterator()
Return an iterator over the application codebases.
|
java.util.Iterator<? extends ICodeBase> |
auxCodeBaseIterator()
Return an iterator over the auxiliary codebases.
|
void |
close()
Close all of the code bases that are part of this class path.
|
java.util.Map<java.lang.String,ICodeBaseEntry> |
getApplicationCodebaseEntries()
Returns all of the application code base entries that are part of this class path.
|
ICodeBaseEntry |
lookupResource(java.lang.String resourceName)
Lookup a resource by name.
|
void |
mapResourceNameToCodeBaseEntry(java.lang.String resourceName,
ICodeBaseEntry codeBaseEntry)
Add a resource name to codebase entry mapping.
|
void addCodeBase(ICodeBase codeBase)
codeBase
- the codebase to addjava.util.Iterator<? extends ICodeBase> appCodeBaseIterator()
java.util.Iterator<? extends ICodeBase> auxCodeBaseIterator()
ICodeBaseEntry lookupResource(java.lang.String resourceName) throws ResourceNotFoundException
resourceName
- name of the resource to look upResourceNotFoundException
- if the resource is not foundvoid mapResourceNameToCodeBaseEntry(java.lang.String resourceName, ICodeBaseEntry codeBaseEntry)
resourceName
- the resource name to mapcodeBaseEntry
- the codebase entry to use for this resourcevoid close()
java.util.Map<java.lang.String,ICodeBaseEntry> getApplicationCodebaseEntries()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.