|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.mail.internet.HeaderTokenizer.Token
public static class HeaderTokenizer.Token
A token returned by the lexer. These tokens are specified in RFC 822 and MIME.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
HeaderTokenizer.Token(int type,
String value)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getType()
Returns the token type. |
String |
getValue()
Returns the value 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 ATOM
public static final int QUOTEDSTRING
public static final int COMMENT
public static final int EOF
| Constructor Detail |
|---|
public HeaderTokenizer.Token(int type,
String value)
type - the token typevalue - the token value| Method Detail |
|---|
public int getType()
public String getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||