|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.PdfNameTree
public class PdfNameTree
Creates a name tree.
Constructor Summary | |
---|---|
PdfNameTree()
|
Method Summary | |
---|---|
static java.util.HashMap<java.lang.String,PdfObject> |
readTree(PdfDictionary dic)
|
static PdfDictionary |
writeTree(java.util.HashMap<java.lang.String,? extends PdfObject> items,
PdfWriter writer)
Writes a name tree to a PdfWriter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PdfNameTree()
Method Detail |
---|
public static PdfDictionary writeTree(java.util.HashMap<java.lang.String,? extends PdfObject> items, PdfWriter writer) throws java.io.IOException
items
- the item of the name tree. The key is a String
and the value is a PdfObject
. Note that although the
keys are strings only the lower byte is used and no check is made for chars
with the same lower byte and different upper byte. This will generate a wrong
tree name.writer
- the writer
java.io.IOException
- on errorpublic static java.util.HashMap<java.lang.String,PdfObject> readTree(PdfDictionary dic)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |