public final class Boone
extends java.lang.Object
| Constructor and Description |
|---|
Boone() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
getClassPath()
Returns the class path used by Boone for class look-up.
|
static java.util.List<java.lang.String> |
getExcludedNames()
Returns the strings that cause exclusion of a path to be searched for Boone classes.
|
static java.lang.String |
getFullName(java.lang.String shortName)
Return the qualified name of a class given the unqualified class name using the internal registry.
|
static boolean |
isExcluded(java.lang.String path)
Indicates if the given path contains an exclusion string.
|
static java.lang.Object |
newInstance(java.lang.String className)
Create a new instance of the class with the given name.
|
static void |
setFullName(java.lang.String shortName,
java.lang.String fullName)
Adds the mapping to the registry.
|
public static java.util.List<java.lang.String> getClassPath()
public static java.lang.String getFullName(java.lang.String shortName)
shortName - basic class namepublic static void setFullName(java.lang.String shortName,
java.lang.String fullName)
shortName - basic class namefullName - qualified class namepublic static java.util.List<java.lang.String> getExcludedNames()
public static java.lang.Object newInstance(java.lang.String className)
Note that this method uses the current thread's context class loader for unknown (unregistered) classes.
className - Basic (if registered) or full name of the class to instantiate.public static boolean isExcluded(java.lang.String path)
path - a string