Class Pipe

java.lang.Object
org.im4java.process.Pipe
All Implemented Interfaces:
ErrorConsumer, InputProvider, OutputConsumer

public class Pipe extends Object implements InputProvider, OutputConsumer, ErrorConsumer
This class implements a pipe. Useful for piping input to a process or piping output/error from a process to other streams.

You can use the same Pipe-object for both ends of a process-pipeline. But you cannot use the same Pipe-object as an OutputConsumer and ErrorConsumer at the same time.