java.lang.Object
eu.europa.esig.dss.model.CommonDocument
eu.europa.esig.dss.pades.validation.PdfByteRangeDocument
- All Implemented Interfaces:
eu.europa.esig.dss.model.DSSDocument,Serializable
public class PdfByteRangeDocument
extends eu.europa.esig.dss.model.CommonDocument
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(eu.europa.esig.dss.model.DSSDocument pdfDocument, ByteRange byteRange) Default constructor -
Method Summary
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
Returns theByteRangeof the document- Returns:
ByteRange
-
openStream
-
equals
- Overrides:
equalsin classeu.europa.esig.dss.model.CommonDocument
-
hashCode
public int hashCode()- Overrides:
hashCodein classeu.europa.esig.dss.model.CommonDocument
-