public class SocketChannelInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
SocketChannelInputStream(java.nio.channels.SocketChannel socketChannel,
int readTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read() |
public SocketChannelInputStream(java.nio.channels.SocketChannel socketChannel,
int readTimeout)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read 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