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
digestMap, mimeType, name -
Constructor Summary
ConstructorsConstructorDescriptionPdfByteRangeDocument(DSSDocument pdfDocument, ByteRange byteRange) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns theByteRangeof the documentOpens aInputStreamon theDSSDocumentcontents.Methods inherited from class eu.europa.esig.dss.model.CommonDocument
getDigest, getDigestValue, getMimeType, getName, save, setMimeType, setName, toString, writeTo
-
Constructor Details
-
PdfByteRangeDocument
Default constructor- Parameters:
pdfDocument-DSSDocumentinput PDF document to readbyteRange-ByteRangeof the revision to be read
-
-
Method Details
-
getByteRange
-
openStream
Description copied from interface:DSSDocumentOpens aInputStreamon theDSSDocumentcontents. The type of theInputStreamdepends on the type of theDSSDocument.- Returns:
- an
InputStream
-