net.metanotion.io
Class JavaInputStream
java.lang.Object
java.io.InputStream
net.metanotion.io.JavaInputStream
- All Implemented Interfaces:
- Closeable
public final class JavaInputStream
- extends InputStream
Adapter to convert a net.metanotion.io.InputStream into a java.io.InputStream.
|
Method Summary |
void |
close()
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaInputStream
public JavaInputStream(InputStream in)
read
public int read()
- Specified by:
read in class InputStream
read
public int read(byte[] b,
int off,
int len)
- Overrides:
read in class InputStream
close
public void close()
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream