public class RingInputStream extends InputStream implements AutoCloseable
| Constructor and Description |
|---|
RingInputStream(Pipe pipe)
By definition an input stream is blocking so this adds a blocking API for the pipe;
|
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] targetData,
int targetOffset,
int targetLength) |
close, mark, markSupported, reset, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic RingInputStream(Pipe pipe)
pipe - public int available()
throws IOException
available in class InputStreamIOExceptionpublic int read()
read in class InputStreampublic int read(byte[] b)
read in class InputStreampublic int read(byte[] targetData,
int targetOffset,
int targetLength)
read in class InputStreamCopyright © 2018. All Rights Reserved.