|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
SOMA.explorer.ExplorerThread
Thread che rimane in attesa di input proveniente da un InputStream.
Field Summary | |
(package private) java.io.BufferedReader |
brIn
|
(package private) boolean |
Continue
|
(package private) DirExplorerItem |
Dir
|
(package private) boolean |
echo
|
(package private) java.io.PrintStream |
out
|
(package private) DirExplorerItem |
RootDir
|
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ExplorerThread(DirExplorerItem Dir)
Costruttore in cui si specifica solo il direttorio da esplorare: vengono utilizzati gli stream di sistema e non viene fatta l'echo dei comandi inseriti. |
|
ExplorerThread(DirExplorerItem dir,
java.io.InputStream in,
java.io.PrintStream out,
boolean echo)
Costruttore in cui si specificano il direttorio da esplorare, un InputStream di ingresso, un PrintStream di uscita e se e' necessario effettuare l'echo dei comandi inseriti in ingresso. |
|
ExplorerThread(java.lang.ThreadGroup threadGroup,
DirExplorerItem dir,
java.io.InputStream in,
java.io.PrintStream out,
boolean echo)
Costruttore in cui si specificano il direttorio da esplorare, un InputStream di ingresso, un PrintStream di uscita, se e' necessario effettuare l'echo dei comandi inseriti in ingresso ed il ThreadGroup di appartenenza. |
Method Summary | |
void |
addExit()
Aggiunge la voce exit al menu principale. |
void |
run()
|
void |
Stop()
|
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 |
java.io.PrintStream out
java.io.BufferedReader brIn
boolean Continue
DirExplorerItem Dir
DirExplorerItem RootDir
boolean echo
Constructor Detail |
public ExplorerThread(DirExplorerItem Dir)
public ExplorerThread(DirExplorerItem dir, java.io.InputStream in, java.io.PrintStream out, boolean echo)
public ExplorerThread(java.lang.ThreadGroup threadGroup, DirExplorerItem dir, java.io.InputStream in, java.io.PrintStream out, boolean echo)
Method Detail |
public void addExit()
public void Stop()
public void run()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |