Class PdfEFStream

  • All Implemented Interfaces:
    java.io.Serializable

    public class PdfEFStream
    extends PdfStream
    Extends PdfStream and should be used to create Streams for Embedded Files (file attachments).
    Since:
    2.1.3
    See Also:
    Serialized Form
    • Constructor Detail

      • PdfEFStream

        public PdfEFStream​(java.io.InputStream in,
                           PdfWriter writer)
        Creates a Stream object using an InputStream and a PdfWriter object
        Parameters:
        in - the InputStream that will be read to get the Stream object
        writer - the writer to which the stream will be added
      • PdfEFStream

        public PdfEFStream​(byte[] fileStore)
        Creates a Stream object using a byte array
        Parameters:
        fileStore - the bytes for the stream