Class PdfByteRangeDocument
java.lang.Object
eu.europa.esig.dss.model.CommonDocument
eu.europa.esig.dss.pades.validation.PdfByteRangeDocument
- All Implemented Interfaces:
DSSDocument
,Serializable
Internal representation of a PDF document. Used to reduce memory overloading during the execution.
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.model.CommonDocument
base64EncodeDigestMap, mimeType, name
-
Constructor Summary
ConstructorDescriptionPdfByteRangeDocument
(DSSDocument pdfDocument, ByteRange byteRange) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns theByteRange
of the documentOpens aInputStream
on theDSSDocument
contents.Methods inherited from class eu.europa.esig.dss.model.CommonDocument
getDigest, getMimeType, getName, save, setMimeType, setName, toString, writeTo
-
Constructor Details
-
PdfByteRangeDocument
Default constructor- Parameters:
pdfDocument
-DSSDocument
input PDF document to readbyteRange
-ByteRange
of the revision to be read
-
-
Method Details
-
getByteRange
Returns theByteRange
of the document- Returns:
ByteRange
-
openStream
Description copied from interface:DSSDocument
Opens aInputStream
on theDSSDocument
contents. The type of theInputStream
depends on the type of theDSSDocument
.- Returns:
- an
InputStream
-