com.itextpdf.text.pdf
Class PdfNumberTree
java.lang.Object
com.itextpdf.text.pdf.PdfNumberTree
public class PdfNumberTree
- extends Object
Creates a number tree.
- Author:
- Paulo Soares
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PdfNumberTree
public PdfNumberTree()
writeTree
public static <O extends PdfObject> PdfDictionary writeTree(HashMap<Integer,O> items,
PdfWriter writer)
throws IOException
- Creates a number tree.
- Parameters:
items
- the item of the number tree. The key is an Integer
and the value is a PdfObject
.writer
- the writer
- Returns:
- the dictionary with the number tree.
- Throws:
IOException
- on error
readTree
public static HashMap<Integer,PdfObject> readTree(PdfDictionary dic)
Copyright © 2012. All Rights Reserved.