org.netbeans.jemmy.operators
Class Operator.DefaultPathParser
java.lang.Object
org.netbeans.jemmy.operators.Operator.DefaultPathParser
- All Implemented Interfaces:
- Operator.PathParser
- Enclosing class:
- Operator
public static class Operator.DefaultPathParser
- extends Object
- implements Operator.PathParser
Used for parsing of path-like strings where path components are
separated by a string-separator: "drive|directory|subdirectory|file".
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Operator.DefaultPathParser
public Operator.DefaultPathParser(String separator)
- Constructs a DefaultPathParser object.
- Parameters:
separator
- a string used as separator.
parse
public String[] parse(String path)
- Description copied from interface:
Operator.PathParser
- Parses a string to a String array.
- Specified by:
parse
in interface Operator.PathParser
- Parameters:
path
- a String to parse.
- Returns:
- a parsed array.