public class PdfLiteral extends PdfObject
| Modifier and Type | Field and Description |
|---|---|
private int |
position
Holds value of property position.
|
| Constructor and Description |
|---|
PdfLiteral(byte[] b) |
PdfLiteral(int size) |
PdfLiteral(int type,
byte[] b) |
PdfLiteral(int type,
java.lang.String text) |
PdfLiteral(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPosition()
Getter for property position.
|
int |
getPosLength()
Getter for property posLength.
|
void |
toPdf(PdfWriter writer,
java.io.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(java.lang.String text)
public PdfLiteral(byte[] b)
public PdfLiteral(int size)
public PdfLiteral(int type,
java.lang.String text)
public PdfLiteral(int type,
byte[] b)
public void toPdf(PdfWriter writer, java.io.OutputStream os) throws java.io.IOException
PdfObjectPdfObject as an
array of bytes to the writer.public int getPosition()
public int getPosLength()