|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.common.path.RelativePathParser
Utility class to pull parse a relative path.
Field Summary | |
static int |
DOWN
The recognized token is down. |
static int |
NONE
The parser has reached the end of the stream. |
static int |
UP
The recognized token is up. |
Constructor Summary | |
RelativePathParser(java.lang.String path)
|
Method Summary | |
int |
getLength()
|
int |
getOffset()
|
int |
next()
Read the next token available. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NONE
getOffset()
and
getLength()
is undertermined.
public static final int UP
getOffset()
and
getLength()
is undertermined.
public static final int DOWN
getOffset()
and
getLength()
determine the token string value.
Constructor Detail |
public RelativePathParser(java.lang.String path)
Method Detail |
public int next()
public int getOffset()
public int getLength()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |