com.etymon.pjx
Class PdfReader.ParserObject
java.lang.Object
com.etymon.pjx.PdfObject
com.etymon.pjx.PdfReader.ParserObject
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- PdfReader.ArrayEnd, PdfReader.DictionaryEnd, PdfReader.DictionaryEndStream
- Enclosing class:
- PdfReader
protected class PdfReader.ParserObject
- extends PdfObject
The superclass of inner classes used by this
PdfReader
to mark positions while parsing PDF
objects.
Method Summary |
protected int |
writePdf(PdfWriter w,
boolean spacing)
Writes this object in PDF format. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PdfReader.ParserObject
protected PdfReader.ParserObject()
writePdf
protected int writePdf(PdfWriter w,
boolean spacing)
throws java.io.IOException
- Description copied from class:
PdfObject
- Writes this object in PDF format.
- Specified by:
writePdf
in class PdfObject
- Parameters:
w
- the PdfWriter
to write to.spacing
- specifies whether to add white-space before
the object. A value of true
enables the
addition of white-space. If the object begins with a PDF
delimiter, then this option is ignored and no white-space
is written.
- Returns:
- the number of bytes written by this method.
- Throws:
java.io.IOException