|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
fr.umlv.unitex.process.ProcessInfoThread
public class ProcessInfoThread
This class is used to monitor stdout and stderr messages of external processes.
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 | |
---|---|
ProcessInfoThread(javax.swing.JTextArea t,
java.io.InputStream s,
boolean close,
ProcessInfoFrame f,
javax.swing.JScrollBar scroll,
javax.swing.JScrollPane scr)
Creates a new ProcessInfoThread |
Method Summary | |
---|---|
void |
run()
Runs the monitoring 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 ProcessInfoThread(javax.swing.JTextArea t, java.io.InputStream s, boolean close, ProcessInfoFrame f, javax.swing.JScrollBar scroll, javax.swing.JScrollPane scr)
ProcessInfoThread
t
- the text area to display messagess
- the stream to monitorclose
- indicate if the parent frame must be closed after the completion of the processf
- parent framescroll
- scroll bar of the text areascr
- scroll pane that contains the text areaMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |