public class Pipe extends Object
Constructor and Description |
---|
Pipe(InputStream processStream,
OutputStream systemStream)
Create an incoming pipe, from the external process to us.
|
Pipe(OutputStream processStream,
InputStream systemStream)
Create an outgoing pipe, from us to the external process.
|
Modifier and Type | Method and Description |
---|---|
Pipe |
start(String name)
Start piping data from input to output.
|
void |
stop()
Stop piping data from input to output.
|
public Pipe(InputStream processStream, OutputStream systemStream)
processStream
- process sourcesystemStream
- system sinkpublic Pipe(OutputStream processStream, InputStream systemStream)
processStream
- process sinksystemStream
- system sourceCopyright © 2006–2019 OPS4J - Open Participation Software for Java. All rights reserved.