public class PdfLiteral extends PdfObject
| Constructor and Description |
|---|
PdfLiteral(String text) |
| Modifier and Type | Method and Description |
|---|---|
int |
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. |
public PdfLiteral(String text)
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.IOException - Exception with a I/O errorpublic int getPosition()
public int getPosLength()
Copyright © 2021. All rights reserved.