public class ClassBrowser extends Browser
JClass load()
or the JPackage load() methods
cause the class or package to be loaded into the
current DataModel.| Modifier and Type | Class and Description |
|---|---|
static class |
ClassBrowser.FailedClasspathAdd |
| Constructor and Description |
|---|
ClassBrowser(RuleDictionary rd) |
ClassBrowser(RuleDictionary rd,
java.lang.String cpr)
Deprecated.
|
ClassBrowser(RuleDictionary rd,
java.net.URI classpathPathRoot) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassPath(java.net.URI uri)
Add the specified path to the set of paths that are searched
for Java Classes to be browsed.
|
void |
addFailedAdd(java.lang.String pathToAdd,
SDKException ex) |
void |
clearClassPath()
Remove all user created entries from the class path list
used to create the list of packages and classes.
|
java.util.List<java.net.URI> |
getClassPath()
Return the list of class paths created by addClassPath.
|
java.lang.String |
getClasspathPathRoot() |
java.util.List<ClassBrowser.FailedClasspathAdd> |
getFailedClasspathAdds() |
void |
removeClassPath(java.net.URI uriToRemove)
remove the specified class path from the
the classpath list.
|
void |
setClasspathPathRoot(java.lang.String cpr)
Deprecated.
|
void |
setClasspathPathRoot(java.net.URI cpr)
Set the directory in which to put compiled JAXB class files in
|
getDictionary, getNodeTablepublic ClassBrowser(RuleDictionary rd) throws SDKException
SDKExceptionpublic ClassBrowser(RuleDictionary rd, java.net.URI classpathPathRoot) throws SDKException
SDKException@Deprecated public ClassBrowser(RuleDictionary rd, java.lang.String cpr) throws SDKException
SDKExceptionpublic void setClasspathPathRoot(java.net.URI cpr)
cpr - the directory@Deprecated public void setClasspathPathRoot(java.lang.String cpr)
public java.lang.String getClasspathPathRoot()
public java.util.List<ClassBrowser.FailedClasspathAdd> getFailedClasspathAdds()
public void addFailedAdd(java.lang.String pathToAdd,
SDKException ex)
public void addClassPath(java.net.URI uri)
throws SDKException
uri - URI containing path to class or jar filesSDKException - if the specified path does not contain valid Java Classes.public void clearClassPath()
throws SDKException
SDKExceptionpublic java.util.List<java.net.URI> getClassPath()
public void removeClassPath(java.net.URI uriToRemove)
throws SDKException
uriToRemove - a String containing class path to be removedSDKException - when path is not in the instance list