public class NIOBufferedInputStream extends InputStream
| Constructor and Description |
|---|
NIOBufferedInputStream(ReadableByteChannel channel) |
NIOBufferedInputStream(ReadableByteChannel channel,
int size) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, markSupported, read, resetpublic NIOBufferedInputStream(ReadableByteChannel channel, int size) throws ClosedChannelException, IOException
ClosedChannelExceptionIOExceptionpublic NIOBufferedInputStream(ReadableByteChannel channel) throws ClosedChannelException, IOException
ClosedChannelExceptionIOExceptionpublic int available() throws IOException
available in class InputStreamIOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read() throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in class InputStreamIOExceptionpublic long skip(long n) throws IOException
skip in class InputStreamIOExceptionCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.