gov.llnl.babel.url.cookie
Class Lexer
java.lang.Object
gov.llnl.babel.url.cookie.Lexer
public class Lexer
extends java.lang.Object
A class to convert text from the value of a HTTP Set-Cookie2 to a stream
of lexical tokens.
Lexer(Reader charSource) - Create a lexer and give provide it with a stream of characters.
|
Lexer
public Lexer(Reader charSource)
Create a lexer and give provide it with a stream of characters.
validTokenChar
public static boolean validTokenChar(char ch)
Return true
iff ch
is a valid character in a
token.
ch
- the character to check
true
means ch
is a valid character
in a token