org.pdfbox.io
Class RandomAccessFileInputStream
InputStream
org.pdfbox.io.RandomAccessFileInputStream
public class RandomAccessFileInputStream
extends InputStream
This class allows a section of a RandomAccessFile to be accessed as an
input stream.
RandomAccessFileInputStream
public RandomAccessFileInputStream(RandomAccess raFile,
long startPosition,
long length)
Constructor.
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.
available
public int available()
read
public int read()
throws IOException
read
public int read(byte[] b,
int offset,
int length)
throws IOException
skip
public long skip(long amountToSkip)