Class PDFEmbeddedFile

  • All Implemented Interfaces:
    PDFWritable

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

      • PDFEmbeddedFile

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

      • isEncodingOnTheFly

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

        protected void populateStreamDict​(java.lang.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