Class FinderPath
java.lang.Object
org.patternfly.extension.finder.FinderPath
- All Implemented Interfaces:
Iterable<FinderSegment>
A lightweight finder path containing only string-based
segments. Supports encoding to and parsing from
a string format (col1=item1/col2=item2). Use this type for URL routing and serialization.
For a path with live references to FinderColumn and FinderItem, use ResolvedFinderPath.
-
Method Summary
Modifier and TypeMethodDescriptionfindColumn(String identifier) booleanisEmpty()iterator()static FinderPathParses a finder path string in the formatcol1=item1/col2=item2/col3.intsize()toString()Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
parse
Parses a finder path string in the formatcol1=item1/col2=item2/col3. The last segment may omit the item identifier to represent a column with no selected item.- Parameters:
path- the encoded finder path string- Returns:
- a new
FinderPath, or an empty path fornullor empty input
-
isEmpty
public boolean isEmpty() -
size
public int size() -
iterator
- Specified by:
iteratorin interfaceIterable<FinderSegment>
-
toString
-
findColumn
-
findItem
-