public class PdfNumberTree extends Object
Modifier and Type | Field and Description |
---|---|
private static int |
leafSize |
Constructor and Description |
---|
PdfNumberTree() |
Modifier and Type | Method and Description |
---|---|
private static void |
iterateItems(PdfDictionary dic,
HashMap items) |
static HashMap |
readTree(PdfDictionary dic) |
static PdfDictionary |
writeTree(HashMap items,
PdfWriter writer)
Creates a number tree.
|
private static final int leafSize
public static PdfDictionary writeTree(HashMap items, PdfWriter writer) throws IOException
items
- the item of the number tree. The key is an Integer
and the value is a PdfObject
.writer
- the writerIOException
- on errorprivate static void iterateItems(PdfDictionary dic, HashMap items)
public static HashMap readTree(PdfDictionary dic)