|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.url.cookie.Lexer
public class Lexer
A class to convert text from the value of a HTTP Set-Cookie2 to a stream of lexical tokens.
Constructor Summary | |
---|---|
Lexer(java.io.Reader charSource)
Create a lexer and give provide it with a stream of characters. |
Method Summary | |
---|---|
Token |
nextToken()
Find the next token. |
static boolean |
validTokenChar(char ch)
Return true iff ch is a valid character in a
token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lexer(java.io.Reader charSource)
Method Detail |
---|
public static boolean validTokenChar(char ch)
true
iff ch
is a valid character in a
token.
ch
- the character to check
true
means ch
is a valid character
in a tokenpublic Token nextToken() throws java.io.IOException, LexicalException
java.io.IOException
- If the character source issues an IOException, you will know.
LexicalException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |