public class PdfNumberTree
extends java.lang.Object
Constructor and Description |
---|
PdfNumberTree() |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<java.lang.Integer,PdfObject> |
readTree(PdfDictionary dic) |
static <O extends PdfObject> |
writeTree(java.util.HashMap<java.lang.Integer,O> items,
PdfWriter writer)
Creates a number tree.
|
public static <O extends PdfObject> PdfDictionary writeTree(java.util.HashMap<java.lang.Integer,O> items, PdfWriter writer) throws java.io.IOException
items
- the item of the number tree. The key is an Integer
and the value is a PdfObject
.writer
- the writerjava.io.IOException
- on errorpublic static java.util.HashMap<java.lang.Integer,PdfObject> readTree(PdfDictionary dic)
Copyright © 2013. All Rights Reserved.