Class PdfByteRangeDocument

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

    base64EncodeDigestMap, mimeType, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    PdfByteRangeDocument(eu.europa.esig.dss.model.DSSDocument pdfDocument, ByteRange byteRange)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the ByteRange of the document
     

    Methods inherited from class eu.europa.esig.dss.model.CommonDocument

    getDigest, getMimeType, getName, save, setMimeType, setName, toString, writeTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PdfByteRangeDocument

      public PdfByteRangeDocument(eu.europa.esig.dss.model.DSSDocument pdfDocument, ByteRange byteRange)
      Default constructor
      Parameters:
      pdfDocument - DSSDocument input PDF document to read
      byteRange - ByteRange of the revision to be read
  • Method Details

    • getByteRange

      public ByteRange getByteRange()
      Returns the ByteRange of the document
      Returns:
      ByteRange
    • openStream

      public InputStream openStream()