public class PdfNumberTree extends Object
| Constructor and Description |
|---|
PdfNumberTree() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<Integer,PdfObject> |
readTree(PdfDictionary dic) |
static <O extends PdfObject> |
writeTree(HashMap<Integer,O> items,
PdfWriter writer)
Creates a number tree.
|
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 errorpublic static HashMap<Integer,PdfObject> readTree(PdfDictionary dic)
Copyright © 2020. All rights reserved.