|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.common.classloader.PackageList
public class PackageList
This class maintains a list of packages and methods allowing to check whether a given class is within the packages in the list.
| Constructor Summary | |
|---|---|
PackageList()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addPackage(java.lang.String packageName)
This method adds a package name to this list. |
boolean |
containsClass(java.lang.String className)
This method checks whether the class with the given name is in a package that is contained in this package list. |
boolean |
containsPackage(java.lang.String packageName)
This method checks, whether the package with the given name is contained in this package list. |
void |
printDebug(java.lang.String prefix,
XClassLoaderBase cl)
Prints debug output to the given class loader's logger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PackageList()
| Method Detail |
|---|
public void addPackage(java.lang.String packageName)
packageName - The name of the package to be added
public void printDebug(java.lang.String prefix,
XClassLoaderBase cl)
prefix - Prefix to prepend to the log outputcl - Class loaderpublic boolean containsPackage(java.lang.String packageName)
packageName - The package name to check for
public boolean containsClass(java.lang.String className)
className - The name of the class to check for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||