Package org.ka2ddo.yaac.io
Class SubprocessOutputCopier
java.lang.Object
org.ka2ddo.yaac.io.SubprocessOutputCopier
- All Implemented Interfaces:
Runnable
This class provides a Runnable for copying a stream to another stream,
typically the standard output and standard error of a launched subprocess.
- Author:
- Andrew Pavlin, KA2DDO
-
Constructor Summary
ConstructorDescriptionCreate the SubprocessOutputCopier for a pair of InputStream and OutputStream. -
Method Summary
-
Constructor Details
-
SubprocessOutputCopier
Create the SubprocessOutputCopier for a pair of InputStream and OutputStream.- Parameters:
in
- the InputStream to readout
- the OutputStream to write the data read from the InputStream
-
-
Method Details