public static class HeaderTokenizer.Token
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
ATOM
An ATOM.
|
static int |
COMMENT
A comment.
|
static int |
EOF
The end of the input.
|
static int |
QUOTEDSTRING
A quoted-string.
|
| Constructor and Description |
|---|
HeaderTokenizer.Token (int type,
java.lang.String value)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getType ()
Returns the token type.
|
java.lang.String |
getValue ()
Returns the value of the token.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int ATOM
public static final int QUOTEDSTRING
public static final int COMMENT
public static final int EOF
public HeaderTokenizer.Token(int type, java.lang.String value)
type - the token typevalue - the token valuepublic int getType()
public java.lang.String getValue()