private static final class ChannelStream.InputStreamAdapter
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private ChannelStream |
stream |
| Constructor and Description |
|---|
InputStreamAdapter(ChannelStream stream) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
private final ChannelStream stream
public InputStreamAdapter(ChannelStream stream)
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException