public class ObservableInputStream
extends java.io.InputStream
Constructor and Description |
---|
ObservableInputStream(java.io.InputStream delegate,
StreamObserver obs) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
protected void |
finalize() |
void |
mark(int arg0) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] arg0) |
int |
read(byte[] arg0,
int arg1,
int arg2) |
void |
reset() |
long |
skip(long arg0) |
public ObservableInputStream(java.io.InputStream delegate, StreamObserver obs)
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
InputStream.available()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
InputStream.close()
public void mark(int arg0)
mark
in class java.io.InputStream
InputStream.mark(int)
public boolean markSupported()
markSupported
in class java.io.InputStream
InputStream.markSupported()
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] arg0) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
InputStream.read(byte[])
public int read(byte[] arg0, int arg1, int arg2) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
InputStream.read(byte[], int, int)
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
InputStream.reset()
public long skip(long arg0) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
InputStream.skip(long)
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
Object.finalize()