Constructor and Description |
---|
JGDIShell() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Class> |
getAllAnnotatedClasses(java.lang.Package pkg,
java.lang.Class annotated)
Attempts to list annotated classes in the given package and its ancestors
as determined by the context class loader
|
JGDI |
getConnection()
Getter method
|
java.io.PrintWriter |
getErr()
Getter method
|
java.util.logging.Logger |
getLogger()
Getter method
|
java.io.PrintWriter |
getOut()
Getter method
|
static java.lang.String |
getResourceString(java.lang.String key) |
static void |
main(java.lang.String[] args) |
void |
run() |
int |
runShellCommand(java.lang.String line) |
public JGDI getConnection()
getConnection
in interface Shell
public java.util.logging.Logger getLogger()
public java.io.PrintWriter getOut()
public java.io.PrintWriter getErr()
public void run()
run
in interface java.lang.Runnable
public int runShellCommand(java.lang.String line) throws java.lang.InterruptedException, java.io.IOException, java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
public static void main(java.lang.String[] args)
public static java.lang.String getResourceString(java.lang.String key)
public static java.util.List<java.lang.Class> getAllAnnotatedClasses(java.lang.Package pkg, java.lang.Class annotated) throws java.lang.ClassNotFoundException
pkg
- a Package as a starting pointannotated
- Class the annotation class to searchjava.lang.ClassNotFoundException
- if something went wrongCopyright © 2007 Sun Microsystems, Inc. All rights reserved.