Class PDFEmbeddedFile

All Implemented Interfaces:
PDFWritable

public class PDFEmbeddedFile extends PDFStream
This class represents an embedded file stream.
  • Constructor Details

    • PDFEmbeddedFile

      public PDFEmbeddedFile()
      Creates a new embedded file stream.
  • Method Details

    • isEncodingOnTheFly

      protected boolean isEncodingOnTheFly()
      Determine if should encode on the fly.
      Returns:
      true if should encode on the fly
    • populateStreamDict

      protected void populateStreamDict(Object lengthEntry)
      Populates the dictionary with all necessary entries for the stream. Override this method if you need additional entries.
      Overrides:
      populateStreamDict in class AbstractPDFStream
      Parameters:
      lengthEntry - value for the /Length entry