java.lang.Object | +----java.io.OutputStream | +----java.io.PipedOutputStream
public class PipedOutputStream
extends OutputStream
A piped output stream is the sending end of a communications pipe. Two threads can communicate by having one thread send data through a piped output stream and having the other thread read the data through a piped input stream.