Class PdfNumberTree
java.lang.Object
org.openpdf.text.pdf.PdfNumberTree
Creates a number tree.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voiditerateItems(PdfDictionary dic, Map<Integer, PdfObject> items) readTree(PdfDictionary dic) static PdfDictionaryCreates a number tree.
-
Field Details
-
leafSize
private static final int leafSize- See Also:
-
-
Constructor Details
-
PdfNumberTree
public PdfNumberTree()
-
-
Method Details
-
writeTree
public static PdfDictionary writeTree(Map<Integer, ? extends PdfObject> items, PdfWriter writer) throws IOException Creates a number tree.- Parameters:
items- the item of the number tree. The key is anIntegerand the value is aPdfObject.writer- the writer- Returns:
- the dictionary with the number tree.
- Throws:
IOException- on error
-
iterateItems
-
readTree
-