|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkawigi.util.ProcessOutput
public class ProcessOutput
A threaded output listener for a process output stream (either stdout or stderr).
| Constructor Summary | |
|---|---|
ProcessOutput(java.io.InputStream out,
ConsoleDisplay output)
Creates a new ProcessOutput that reads out
into output. |
|
| Method Summary | |
|---|---|
ConsoleDisplay |
getOutputDisplay()
Returns the display component being used by this thread. |
boolean |
isDone()
Returns true if this output stream has stopped producing output. |
void |
run()
Reads characters from the stream until it runs out of them. |
void |
start()
Starts the thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessOutput(java.io.InputStream out,
ConsoleDisplay output)
ProcessOutput that reads out
into output.
| Method Detail |
|---|
public void start()
public void run()
run in interface java.lang.Runnablepublic boolean isDone()
public ConsoleDisplay getOutputDisplay()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||