Class COSStream.LazySeekableSourceViewHolder

java.lang.Object
org.sejda.sambox.cos.COSStream.LazySeekableSourceViewHolder
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
COSStream

private static class COSStream.LazySeekableSourceViewHolder extends Object implements Closeable
Holder for a view of a portion of the given SeekableSource
  • Field Details

    • sourceRef

      private WeakReference<org.sejda.io.SeekableSource> sourceRef
    • length

      private final long length
    • supplier

      private final Supplier<org.sejda.io.SeekableSource> supplier
    • view

      private org.sejda.io.SeekableSource view
  • Constructor Details

    • LazySeekableSourceViewHolder

      public LazySeekableSourceViewHolder(org.sejda.io.SeekableSource source, long startingPosition, long length)
  • Method Details