|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.mail.internet
|
Field Summary | |
---|---|
static int |
ATOM
Token type indicating an ATOM. |
static int |
COMMENT
Token type indicating a comment. |
static int |
EOF
Token type indicating end of input. |
static int |
QUOTEDSTRING
Token type indicating a quoted string. |
Constructor Summary | |
---|---|
HeaderTokenizer.Token(int type,
String value)
Constructor. |
Method Summary | |
---|---|
int |
getType()
Return the type of the token. |
String |
getValue()
Returns the value of the token just read. |
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
- Token typevalue
- Token valueMethod Detail |
---|
public int getType()
ATOM
A sequence of ASCII characters
delimited by either SPACE, CTL, "(", <"> or the
specified SPECIALS
QUOTEDSTRING
A sequence of ASCII characters
within quotes
COMMENT
A sequence of ASCII characters
within "(" and ")".
EOF
End of header
public String getValue()