Class PDFOutputStream

java.lang.Object
com.inductiveautomation.rm.pdf.writer.PDFOutput
com.inductiveautomation.rm.pdf.writer.PDFOutputStream
All Implemented Interfaces:
AutoCloseable

public class PDFOutputStream extends PDFOutput implements AutoCloseable
Writes a report's PDF output to the supplied output stream directly.
  • Constructor Details

    • PDFOutputStream

      public PDFOutputStream(OutputStream writeTo)
  • Method Details

    • length

      public long length()
      Description copied from class: PDFOutput
      Returns the current length of the output.
      Specified by:
      length in class PDFOutput
    • append

      public PDFOutput append(char aChar)
      Description copied from class: PDFOutput
      Adds a character to the pdf buffer.
      Specified by:
      append in class PDFOutput
    • append

      public PDFOutput append(byte[] theBytes, int anOffset, int aLength)
      Description copied from class: PDFOutput
      Appends an arbitrary byte array with the given offset and length.
      Specified by:
      append in class PDFOutput
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception