Package org.openpdf.text.pdf
Class PdfLiteral
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfLiteral
a Literal
-
Field Summary
Fields inherited from class org.openpdf.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtoPdf(PdfWriter writer, OutputStream os) Writes the PDF representation of thisPdfObjectas an array ofbytes to the writer.Methods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, isArray, isDictionary, isName, isNull, isNumber, isString, setContent, toString, type
-
Constructor Details
-
PdfLiteral
-
PdfLiteral
public PdfLiteral(byte[] b)
-
-
Method Details
-
toPdf
Description copied from class:PdfObjectWrites the PDF representation of thisPdfObjectas an array ofbytes to the writer.- Overrides:
toPdfin classPdfObject- Parameters:
writer- for backwards compatibilityos- TheOutputStreamto write the bytes to.- Throws:
IOException- on error
-