|
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.ClassPathImpl
public class ClassPathImpl
Implementation of IClassPath.
Constructor Summary | |
---|---|
ClassPathImpl()
|
Method Summary | |
---|---|
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. |
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClassPathImpl()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void addCodeBase(ICodeBase codeBase)
IClassPath
addCodeBase
in interface IClassPath
codeBase
- the codebase to addpublic java.util.Iterator<? extends ICodeBase> appCodeBaseIterator()
IClassPath
appCodeBaseIterator
in interface IClassPath
public java.util.Iterator<? extends ICodeBase> auxCodeBaseIterator()
IClassPath
auxCodeBaseIterator
in interface IClassPath
public void close()
IClassPath
close
in interface IClassPath
public ICodeBaseEntry lookupResource(java.lang.String resourceName) throws ResourceNotFoundException
IClassPath
lookupResource
in interface IClassPath
resourceName
- name of the resource to look up
ResourceNotFoundException
- if the resource is not foundpublic void mapResourceNameToCodeBaseEntry(java.lang.String resourceName, ICodeBaseEntry codeBaseEntry)
IClassPath
mapResourceNameToCodeBaseEntry
in interface IClassPath
resourceName
- the resource name to mapcodeBaseEntry
- the codebase entry to use for this resource
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |