Class TreeStatus
java.lang.Object
org.apache.pdfbox.debugger.treestatus.TreeStatus
- Author:
- Khyrul Bashar
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPathForString
(String statusString) Provides TreePath for a given status string.getStringForPath
(TreePath path) Provides status string for a TreePath instance.
-
Constructor Details
-
TreeStatus
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
Provides status string for a TreePath instance.- Parameters:
path
- TreePath instance.- Returns:
- pathString.
-
getPathForString
Provides TreePath for a given status string. In case of invalid string returns null.- Parameters:
statusString
-- Returns:
- path.
-