java.lang.Object | +----java.io.InputStream | +----java.io.PipedInputStream
public class PipedInputStream
extends InputStream
A piped input stream is the receiving 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.