com.lowagie.text.pdf
Class PdfNumberTree
java.lang.Object
com.lowagie.text.pdf.PdfNumberTree
public class PdfNumberTree
- extends Object
Creates a number tree.
- Author:
- Paulo Soares (psoares@consiste.pt)
Field Summary |
private static int |
leafSize
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
leafSize
private static final int leafSize
- See Also:
- Constant Field Values
PdfNumberTree
public PdfNumberTree()
writeTree
public static PdfDictionary writeTree(HashMap 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
iterateItems
private static void iterateItems(PdfDictionary dic,
HashMap items)
readTree
public static HashMap readTree(PdfDictionary dic)