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