| Constructor and Description |
|---|
TreePathParser() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
parse(java.lang.String input)
The string representation of a TreePath is what is usually generated
by its toString method, e.g.
|
public java.lang.Object parse(java.lang.String input)
throws java.lang.IllegalArgumentException
[root, parent, child]
Nodes which contain a comma need to have that comma preceded by a backslash to avoid it being interpreted as two separate nodes.
NOTE: The returned TreePath is only a TreePath constructed of Strings; it requires further manipulation to be turned into a true TreePath as it relates to a given Tree.
Abbot is hosted on