public class NIOInputStream extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
protected int |
count |
protected int |
position |
| Constructor and Description |
|---|
NIOInputStream(java.nio.ByteBuffer in) |
public NIOInputStream(java.nio.ByteBuffer in)
public 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.IOExceptionpublic int available() throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic void close() throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionCopyright © 2005-2012. All Rights Reserved.