public class PDFNumsArray extends PDFObject
Modifier and Type | Field and Description |
---|---|
protected java.util.SortedMap |
map
Sorted Map holding the values of this array.
|
DATE_FORMAT, log
Constructor and Description |
---|
PDFNumsArray(PDFObject parent)
Create a new, empty array object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(int key)
Gets an entry.
|
java.lang.Object |
get(java.lang.Integer key)
Gets an entry.
|
int |
length()
Returns the length of the array
|
protected int |
output(java.io.OutputStream stream)
Write the PDF represention of this object
|
void |
put(java.lang.Integer key,
java.lang.Object obj)
Sets an entry.
|
void |
put(int key,
java.lang.Object obj)
Sets an entry.
|
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString
public PDFNumsArray(PDFObject parent)
parent
- the object's parent if anypublic int length()
public void put(java.lang.Integer key, java.lang.Object obj)
key
- the key of the value to setobj
- the new valuepublic void put(int key, java.lang.Object obj)
key
- the key of the value to setobj
- the new valuepublic java.lang.Object get(java.lang.Integer key)
key
- the key of requested valuepublic java.lang.Object get(int key)
key
- the key of requested valueprotected int output(java.io.OutputStream stream) throws java.io.IOException
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.