|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.io.Pipe
public class Pipe
Pipes asynchronously transfer data between process and system streams.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Pipe |
start(String name)
Start piping data from input to output. |
void |
stop()
Stop piping data from input to output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pipe(InputStream processStream, OutputStream systemStream)
processStream
- process sourcesystemStream
- system sinkpublic Pipe(OutputStream processStream, InputStream systemStream)
processStream
- process sinksystemStream
- system sourceMethod Detail |
---|
public Pipe start(String name)
name
- pipe name
public void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |