public class AdapterInputStreamToIInputStream extends java.lang.Object implements IInputStream
InputStream
that implements IInputStream
.Constructor and Description |
---|
AdapterInputStreamToIInputStream(java.io.InputStream delegate) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
mark(int readlimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
java.lang.String |
toString() |
public AdapterInputStreamToIInputStream(java.io.InputStream delegate)
public int available() throws IOExceptionUnchecked
available
in interface IInputStream
IOExceptionUnchecked
InputStream.available()
public void close() throws IOExceptionUnchecked
close
in interface IInputStream
close
in interface java.lang.AutoCloseable
IOExceptionUnchecked
InputStream.close()
public void mark(int readlimit)
mark
in interface IInputStream
InputStream.mark(int)
public boolean markSupported()
markSupported
in interface IInputStream
InputStream.markSupported()
public int read() throws IOExceptionUnchecked
read
in interface IInputStream
IOExceptionUnchecked
InputStream.read()
public int read(byte[] b, int off, int len) throws IOExceptionUnchecked
read
in interface IInputStream
IOExceptionUnchecked
InputStream.read(byte[], int, int)
public int read(byte[] b) throws IOExceptionUnchecked
read
in interface IInputStream
IOExceptionUnchecked
InputStream.read(byte[])
public void reset() throws IOExceptionUnchecked
reset
in interface IInputStream
IOExceptionUnchecked
InputStream.reset()
public long skip(long n) throws IOExceptionUnchecked
skip
in interface IInputStream
IOExceptionUnchecked
InputStream.skip(long)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object