PipedInputStream Members

PipedInputStream Members

Class Overview | This Package | All Packages

Fields
Name Description
buffer The circular buffer into which incoming data is placed.
in  
out  
PIPE_SIZE  

Constructors
Name Description
PipedInputStream() Creates a piped input stream that is not yet connected to a piped output stream.
PipedInputStream(PipedOutputStream) Creates a piped input stream connected to the specified piped output stream.

Methods
Name Description
available() Returns the number of bytes that can be read from this input stream without blocking.
close() Closes this piped input stream and releases any system resources associated with the stream.
connect(PipedOutputStream) Connects this piped input stream to a sender.
read() Reads the next byte of data from this piped input stream.
read(byte[], int, int) Reads up to len bytes of data from this piped input stream into an array of bytes.
receive(int) Receives a byte of data.