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<Integer,PdfObject> items) |
static HashMap<Integer,PdfObject> |
readTree(PdfDictionary dic) |
static <O extends PdfObject> |
writeTree(HashMap<Integer,O> items,
PdfWriter writer)
Creates a number tree.
|
private static final int leafSize
public PdfNumberTree()
public static <O extends PdfObject> PdfDictionary writeTree(HashMap<Integer,O> 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<Integer,PdfObject> items)
public static HashMap<Integer,PdfObject> readTree(PdfDictionary dic)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses