public class BufferedRAFInputStream extends InputStream
| Constructor and Description |
|---|
BufferedRAFInputStream(RandomAccessFile file)
Creates a new
BufferedRafInputStream on top of a random
access file |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
long |
getFilePointer()
Returns the position of the filepointer
|
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long n)
Seeks to the indicated position
|
long |
skip(long n) |
mark, markSupported, resetpublic BufferedRAFInputStream(RandomAccessFile file) throws IOException
BufferedRafInputStream on top of a random
access filefile - The RAFIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionInputStream.read()public int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionInputStream.read(byte[])public int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionInputStream.read(byte[], int, int)public long skip(long n)
throws IOException
skip in class InputStreamIOExceptionInputStream.skip(long)public void seek(long n)
throws IOException
n - IOExceptionpublic long getFilePointer()
throws IOException
IOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionInputStream.available()public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionInputStream.close()"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"