|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jsequnit.process.ProcessController
public class ProcessController
Helps to executes an external process synchronously
through the use of Threads
to forward
input and error streams.
Constructor Summary | |
---|---|
ProcessController(Process process)
Create an instance for the given representation of the external process. |
Method Summary | |
---|---|
void |
markFinished()
Stop stream forwarding and notify all pending threads. |
void |
startStreamForwarding()
Start the threads to forward the input and error stream of the external process to the streams of the current process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcessController(Process process)
process
- The java.lang instance of the native OS process.Method Detail |
---|
public void startStreamForwarding()
public void markFinished()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |