java.io.Serializable
public class PdfLiteral extends PdfObject
Constructor | 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 | Description |
---|---|---|
long |
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 byte s to the writer. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, toString, type
public 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
PdfObject
PdfObject
as an
array of byte
s to the writer.public long getPosition()
public int getPosLength()
Copyright © 1998–2018. All rights reserved.