Class RandomAccessFileInputStream

java.lang.Object
java.io.InputStream
org.apache.pdfbox.io.RandomAccessFileInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RandomAccessFileInputStream extends InputStream
This class allows a section of a RandomAccessFile to be accessed as an input stream.
Version:
$Revision: 1.5 $
Author:
Ben Litchfield
  • Constructor Details

    • RandomAccessFileInputStream

      public RandomAccessFileInputStream(RandomAccess raFile, long startPosition, long length)
      Constructor.
      Parameters:
      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.
  • Method Details