Class PDFOutputStream

  • All Implemented Interfaces:
    java.lang.AutoCloseable

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

      • PDFOutputStream

        public PDFOutputStream​(java.io.OutputStream writeTo)
    • Method Detail

      • 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 java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception