|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread ikrs.util.AbstractCommandLine<C>
public class AbstractCommandLine<C extends Command>
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 | |
---|---|
AbstractCommandLine(CommandFactory<C> factory)
|
|
AbstractCommandLine(CommandFactory<C> factory,
java.lang.String prompt)
|
Method Summary | |
---|---|
CommandFactory<C> |
getCommandFactory()
Get the command factory for this command line. |
void |
interrupt()
|
static void |
main(java.lang.String[] argv)
|
void |
run()
|
void |
runCommandLine()
This method should be used to start the listening process. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractCommandLine(CommandFactory<C> factory)
public AbstractCommandLine(CommandFactory<C> factory, java.lang.String prompt)
Method Detail |
---|
public CommandFactory<C> getCommandFactory()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void runCommandLine() throws java.io.IOException
java.io.IOException
public void interrupt()
interrupt
in class java.lang.Thread
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |