Package com.itextpdf.text.pdf
Class PdfNumberTree
java.lang.Object
com.itextpdf.text.pdf.PdfNumberTree
Creates a number tree.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voiditerateItems(PdfDictionary dic, HashMap<Integer, PdfObject> items) readTree(PdfDictionary dic) static <O extends PdfObject>
PdfDictionaryCreates a number tree.
-
Field Details
-
leafSize
private static final int leafSize- See Also:
-
-
Constructor Details
-
PdfNumberTree
public PdfNumberTree()
-
-
Method Details
-
writeTree
public static <O extends PdfObject> PdfDictionary writeTree(HashMap<Integer, O> items, PdfWriter writer) throws IOExceptionCreates 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
-