Class PDFOutputStream
- java.lang.Object
-
- com.inductiveautomation.rm.pdf.writer.PDFOutput
-
- com.inductiveautomation.rm.pdf.writer.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 Summary
Constructors Constructor Description PDFOutputStream(java.io.OutputStream writeTo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFOutput
append(byte[] theBytes, int anOffset, int aLength)
Appends an arbitrary byte array with the given offset and length.PDFOutput
append(char aChar)
Adds a character to the pdf buffer.void
close()
long
length()
Returns the current length of the output.
-
-
-
Method Detail
-
length
public long length()
Description copied from class:PDFOutput
Returns the current length of the output.
-
append
public PDFOutput append(char aChar)
Description copied from class:PDFOutput
Adds a character to the pdf buffer.
-
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.
-
close
public void close() throws java.lang.Exception
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
java.lang.Exception
-
-