Class TreeStatus

java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatus

public final class TreeStatus extends Object
Author:
Khyrul Bashar
  • Constructor Details

    • TreeStatus

      public TreeStatus(Object rootNode)
      Constructor.
      Parameters:
      rootNode - the root node of the tree which will be used to construct a treepath from a tree status string.
  • Method Details

    • getStringForPath

      public String getStringForPath(TreePath path)
      Provides status string for a TreePath instance.
      Parameters:
      path - TreePath instance.
      Returns:
      pathString.
    • getPathForString

      public TreePath getPathForString(String statusString)
      Provides TreePath for a given status string. In case of invalid string returns null.
      Parameters:
      statusString -
      Returns:
      path.