public final class PDFNull extends java.lang.Object implements PDFWritable
Modifier and Type | Field and Description |
---|---|
static PDFNull |
INSTANCE
Instance for the "null" object.
|
Modifier and Type | Method and Description |
---|---|
void |
outputInline(java.io.OutputStream out,
java.lang.StringBuilder textBuffer)
Writes a "direct object" (inline object) representation to the stream.
|
java.lang.String |
toString() |
public static final PDFNull INSTANCE
public java.lang.String toString()
toString
in class java.lang.Object
public void outputInline(java.io.OutputStream out, java.lang.StringBuilder textBuffer) throws java.io.IOException
IMPORTANT: If you need to write out binary output, call
PDFDocument.flushTextBuffer(StringBuilder, OutputStream)
before writing any content
to the OutputStream
!
outputInline
in interface PDFWritable
out
- the OutputStream (for binary content)textBuffer
- the text buffer for text contentjava.io.IOException
- if an I/O error occursCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.