public class NbChannelInputStream extends InputStream
Constructor and Description |
---|
NbChannelInputStream(ReadableByteChannel channel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, close, mark, markSupported, read, reset, skip
public NbChannelInputStream(ReadableByteChannel channel)
channel
- The channel to read from.public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2005–2017. All rights reserved.