java.lang.Object
org.sejda.sambox.cos.COSStream.LazySeekableSourceViewHolder
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- COSStream
Holder for a view of a portion of the given
SeekableSource-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLazySeekableSourceViewHolder(org.sejda.io.SeekableSource source, long startingPosition, long length) -
Method Summary
-
Field Details
-
sourceRef
-
length
private final long length -
supplier
-
view
private org.sejda.io.SeekableSource view
-
-
Constructor Details
-
LazySeekableSourceViewHolder
public LazySeekableSourceViewHolder(org.sejda.io.SeekableSource source, long startingPosition, long length)
-
-
Method Details
-
get
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-