public class NIOBufferedInputStream
extends java.io.InputStream
| Constructor and Description |
|---|
NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel) |
NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel,
int size) |
public NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel,
int size)
throws java.nio.channels.ClosedChannelException,
java.io.IOException
java.nio.channels.ClosedChannelExceptionjava.io.IOExceptionpublic NIOBufferedInputStream(java.nio.channels.ReadableByteChannel channel)
throws java.nio.channels.ClosedChannelException,
java.io.IOException
java.nio.channels.ClosedChannelExceptionjava.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.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamjava.io.IOExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.