|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessOutputListener
This defines a Runnable
class that regularly polls an InputStream
for output.
A process output listener object is run in its own thread. When it is done
listening, it returns from the run
method.
Method Summary | |
---|---|
void |
flagDone()
This is called by the owner when the listener should stop listening to the stream and return from the run method. |
String |
getOutput()
Get the entire output from the monitored process. |
void |
setStream(InputStream is)
Set the stream to listen to. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
void setStream(InputStream is)
is
- The stream.void flagDone()
run
method.
String getOutput()
null
.
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |