Class RASInputStream

java.lang.Object
java.io.InputStream
com.itextpdf.text.io.RASInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class RASInputStream extends InputStream
An input stream that uses a RandomAccessSource as it's underlying source
Since:
5.3.5
  • Field Details

    • source

      private final RandomAccessSource source
      The source
    • position

      private long position
      The current position in the source
  • Constructor Details

    • RASInputStream

      public RASInputStream(RandomAccessSource source)
      Creates an input stream based on the source
      Parameters:
      source - the source
  • Method Details