| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.llnl.babel.url.cookie.Token
public final class Token
A class to store each lexical token discovered while parsing the cookie.
| Field Summary | |
|---|---|
| static int | s_COMMAA comma | 
| static int | s_END_OF_STREAMIndicate the end of the stream | 
| static int | s_EQUALAn equal character | 
| static int | s_QUOTEDA quoted string | 
| static int | s_SEMICOLONA semicolon | 
| static int | s_TOKENAn identifier (informally a sequence of non-special, non-white space characters). | 
| Constructor Summary | |
|---|---|
| Token(int type,
      java.lang.String text)Create a token | |
| Method Summary | |
|---|---|
|  java.lang.String | getText()Return the text of the token. | 
|  int | getType()Return one of the constants defined above to indicate the type of the token. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final int s_END_OF_STREAM
public static final int s_TOKEN
public static final int s_QUOTED
public static final int s_EQUAL
public static final int s_COMMA
public static final int s_SEMICOLON
| Constructor Detail | 
|---|
public Token(int type,
             java.lang.String text)
| Method Detail | 
|---|
public int getType()
public java.lang.String getText()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||