com.thaiopensource.validate.nrl
Class Path
java.lang.Object
com.thaiopensource.validate.nrl.Path
class Path
- extends Object
Constructor Summary |
Path(boolean root,
Vector names)
|
root
private final boolean root
names
private final Vector names
START
private static final int START
- See Also:
- Constant Field Values
IN_NAME
private static final int IN_NAME
- See Also:
- Constant Field Values
AFTER_NAME
private static final int AFTER_NAME
- See Also:
- Constant Field Values
AFTER_SLASH
private static final int AFTER_SLASH
- See Also:
- Constant Field Values
Path
Path(boolean root,
Vector names)
isRoot
boolean isRoot()
getNames
Vector getNames()
toString
public String toString()
- Overrides:
toString
in class Object
parse
static Vector parse(String str)
throws Path.ParseException
- Throws:
Path.ParseException
makeName
private static String makeName(String str,
int start,
int end)
throws Path.ParseException
- Throws:
Path.ParseException
main
public static void main(String[] args)
throws Path.ParseException
- Throws:
Path.ParseException