Class RandomAccessSourceFactory

java.lang.Object
com.itextpdf.io.source.RandomAccessSourceFactory

public final class RandomAccessSourceFactory extends Object
Factory to create IRandomAccessSource objects based on various types of sources
  • Field Details

    • forceReadDefaultValue

      private static boolean forceReadDefaultValue
      The default value for the forceRead flag
    • forceRead

      private boolean forceRead
      Whether the full content of the source should be read into memory at construction
    • usePlainRandomAccess

      private boolean usePlainRandomAccess
      Whether RandomAccessFile should be used instead of a FileChannel, where applicable
    • exclusivelyLockFile

      private boolean exclusivelyLockFile
      Whether the underlying file should have a RW lock on it or just an R lock
  • Constructor Details

    • RandomAccessSourceFactory

      public RandomAccessSourceFactory()
      Creates a factory that will give preference to accessing the underling data source using memory mapped files
  • Method Details