public class RandomAccessFileInputStream extends InputStream
| Constructor and Description | 
|---|
| RandomAccessFileInputStream(RandomAccess raFile,
                           long startPosition,
                           long length)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | available() | 
| void | close() | 
| int | read() | 
| int | read(byte[] b,
    int offset,
    int length) | 
| long | skip(long amountToSkip) | 
mark, markSupported, read, resetpublic RandomAccessFileInputStream(RandomAccess raFile, long startPosition, long length)
raFile - The file to read the data from.startPosition - The position in the file that this stream starts.length - The length of the input stream.public int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int read()
         throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
       int offset,
       int length)
         throws IOException
read in class InputStreamIOExceptionpublic long skip(long amountToSkip)
skip in class InputStreamCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.