Class PDFBuffer
java.lang.Object
com.inductiveautomation.rm.pdf.writer.PDFOutput
com.inductiveautomation.rm.pdf.writer.PDFBuffer
- Direct Known Subclasses:
PDFPage
This class is like a StringBuffer, but for creating PDF files instead of strings. It resides entirely in memory so it
should be used sparingly. The preferred PDFOutput implementation is
PDFOutputStream to prevent large PDF
assets from being held in memory.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
_source
-
-
Constructor Details
-
PDFBuffer
public PDFBuffer()
-
-
Method Details
-
length
public long length()Description copied from class:PDFOutputReturns the current length of the output. -
append
Description copied from class:PDFOutputAdds a character to the pdf buffer. -
append
Description copied from class:PDFOutputAppends an arbitrary byte array with the given offset and length. -
append
Appends another buffer. -
toByteArray
public byte[] toByteArray()
-