Class PdfEFStream


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

    • PdfEFStream

      public PdfEFStream(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
  • Method Details