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 PDFOutputappend(byte[] theBytes, int anOffset, int aLength)Appends an arbitrary byte array with the given offset and length.PDFOutputappend(char aChar)Adds a character to the pdf buffer.voidclose()longlength()Returns the current length of the output.
-
-
-
Method Detail
-
length
public long length()
Description copied from class:PDFOutputReturns the current length of the output.
-
append
public PDFOutput append(char aChar)
Description copied from class:PDFOutputAdds a character to the pdf buffer.
-
append
public PDFOutput append(byte[] theBytes, int anOffset, int aLength)
Description copied from class:PDFOutputAppends an arbitrary byte array with the given offset and length.
-
close
public void close() throws java.lang.Exception- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.lang.Exception
-
-