public class PdfNumberTree extends Object
Constructor and Description |
---|
PdfNumberTree() |
Modifier and Type | Method and Description |
---|---|
static HashMap<Integer,PdfObject> |
readTree(PdfDictionary dic) |
static PdfDictionary |
writeTree(Map<Integer,? extends PdfObject> items,
PdfWriter writer)
Creates a number tree.
|
public static PdfDictionary writeTree(Map<Integer,? extends PdfObject> 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.