Package com.itextpdf.text.pdf
Class PdfNumberTree
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfNumberTree
-
public class PdfNumberTree extends java.lang.Object
Creates a number tree.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
leafSize
-
Constructor Summary
Constructors Constructor Description PdfNumberTree()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
iterateItems(PdfDictionary dic, java.util.HashMap<java.lang.Integer,PdfObject> items)
static java.util.HashMap<java.lang.Integer,PdfObject>
readTree(PdfDictionary dic)
static <O extends PdfObject>
PdfDictionarywriteTree(java.util.HashMap<java.lang.Integer,O> items, PdfWriter writer)
Creates a number tree.
-
-
-
Field Detail
-
leafSize
private static final int leafSize
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeTree
public static <O extends PdfObject> PdfDictionary writeTree(java.util.HashMap<java.lang.Integer,O> items, PdfWriter writer) throws java.io.IOException
Creates a number tree.- Parameters:
items
- the item of the number tree. The key is anInteger
and the value is aPdfObject
.writer
- the writer- Returns:
- the dictionary with the number tree.
- Throws:
java.io.IOException
- on error
-
iterateItems
private static void iterateItems(PdfDictionary dic, java.util.HashMap<java.lang.Integer,PdfObject> items)
-
readTree
public static java.util.HashMap<java.lang.Integer,PdfObject> readTree(PdfDictionary dic)
-
-