public class PdfNumberTree extends Object
| Constructor | Description |
|---|---|
PdfNumberTree() |
| Modifier and Type | Method | 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 © 2018. All rights reserved.