com.sun.pdfview
Class NameTree

java.lang.Object
  extended by com.sun.pdfview.NameTree

public class NameTree
extends java.lang.Object

A PDF name tree consists of three kinds of nodes:

A PDF name tree is sorted in accordance with the String.compareTo() method.


Constructor Summary
NameTree(PDFObject root)
          Creates a new instance of NameTree
 
Method Summary
 PDFObject find(java.lang.String key)
          Find the PDF object corresponding to the given String in a name tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameTree

public NameTree(PDFObject root)
Creates a new instance of NameTree

Method Detail

find

public PDFObject find(java.lang.String key)
               throws java.io.IOException
Find the PDF object corresponding to the given String in a name tree

Parameters:
key - the key we are looking for in the name tree
Returns:
the object associated with str, if found, or null if not
Throws:
java.io.IOException