|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
weka.gui.SimpleCLI.ClassRunner
Field Summary | |
(package private) java.lang.String[] |
m_CommandArgs
Stores the command line arguments to pass to the main method |
protected java.lang.reflect.Method |
m_MainMethod
Stores the main method to call |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
SimpleCLI.ClassRunner(java.lang.Class theClass,
java.lang.String[] commandArgs)
Sets up the class runner thread. |
Method Summary | |
void |
run()
Starts running the main method. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.reflect.Method m_MainMethod
java.lang.String[] m_CommandArgs
Constructor Detail |
public SimpleCLI.ClassRunner(java.lang.Class theClass, java.lang.String[] commandArgs) throws java.lang.Exception
theClass
- the Class to call the main method ofcommandArgs
- an array of Strings to use as command line args
java.lang.Exception
- if an error occursMethod Detail |
public void run()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |