public class PdfLiteral extends PdfObject
| Constructor and Description |
|---|
PdfLiteral(byte[] b) |
PdfLiteral(int size) |
PdfLiteral(int type,
byte[] b) |
PdfLiteral(int type,
String text) |
PdfLiteral(String text) |
| Modifier and Type | Method and Description |
|---|---|
long |
getPosition()
Getter for property position.
|
int |
getPosLength()
Getter for property posLength.
|
void |
toPdf(PdfWriter writer,
OutputStream os)
Writes the PDF representation of this
PdfObject as an
array of bytes to the writer. |
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, typepublic PdfLiteral(String text)
public PdfLiteral(byte[] b)
public PdfLiteral(int size)
public PdfLiteral(int type,
String text)
public PdfLiteral(int type,
byte[] b)
public void toPdf(PdfWriter writer, OutputStream os) throws IOException
PdfObjectPdfObject as an
array of bytes to the writer.toPdf in class PdfObjectwriter - for backwards compatibilityos - The OutputStream to write the bytes to.IOExceptionpublic long getPosition()
public int getPosLength()
Copyright © 2019. All rights reserved.