Example usage for Java java.io PipedInputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
PipedInputStream(PipedOutputStream src) Creates a PipedInputStream so that it is connected to the piped output stream src . | |
PipedInputStream(int pipeSize) Creates a PipedInputStream so that it is not yet #connect(java.io.PipedOutputStream) connected and uses the specified pipe size for the pipe's buffer. | |
PipedInputStream() Creates a PipedInputStream so that it is not yet #connect(java.io.PipedOutputStream) connected . | |
PipedInputStream(PipedOutputStream src, int pipeSize) Creates a PipedInputStream so that it is connected to the piped output stream src and uses the specified pipe size for the pipe's buffer. |
int | available() Returns the number of bytes that can be read from this input stream without blocking. |
void | close() Closes this piped input stream and releases any system resources associated with the stream. |
void | connect(PipedOutputStream src) Causes this piped input stream to be connected to the piped output stream src . |
int | read(byte b[], int off, int len) Reads up to len bytes of data from this piped input stream into an array of bytes. |
int | read() Reads the next byte of data from this piped input stream. |
int | read(byte b[]) Reads some number of bytes from the input stream and stores them into the buffer array b . |