Package weka.gui
Class SimpleCLIPanel.ClassRunner
java.lang.Object
java.lang.Thread
weka.gui.SimpleCLIPanel.ClassRunner
- All Implemented Interfaces:
Runnable
- Enclosing class:
- SimpleCLIPanel
A class that handles running the main method of the class in a separate
thread.
- Version:
- $Revision: 14982 $
- Author:
- Len Trigg (trigg@cs.waikato.ac.nz)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorDescriptionClassRunner
(SimpleCLIPanel owner, Class<?> theClass, String[] commandArgs) Sets up the class runner thread. -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Constructor Details
-
ClassRunner
Sets up the class runner thread.- Parameters:
theClass
- the Class to call the main method ofcommandArgs
- an array of Strings to use as command line args- Throws:
Exception
- if an error occurs
-
-
Method Details