|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.eu.miscedautils.CommonUtils.ConsoleThread
public class ConsoleThread
ConsoleThread -- This class implements the Console Thread: The console thread loops forever, reading from the standard input, executing the user input and writing the result to the standard output.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ConsoleThread(tcl.lang.Interp i,
java.lang.String initFile,
java.lang.String tclFile,
java.lang.String prmpt,
boolean verb)
ConsoleThread -- Create a ConsoleThread. |
Method Summary | |
---|---|
void |
initializeTclShell(tcl.lang.Interp tclInterpreter,
java.lang.String initfilename)
|
java.lang.String |
insertExtraSlashForWindows(java.lang.String str)
|
void |
run()
run -- Called by the JVM to start the execution of the console thread. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConsoleThread(tcl.lang.Interp i, java.lang.String initFile, java.lang.String tclFile, java.lang.String prmpt, boolean verb)
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.String insertExtraSlashForWindows(java.lang.String str)
public void initializeTclShell(tcl.lang.Interp tclInterpreter, java.lang.String initfilename)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |