|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.internet.HeaderTokenizer.Token
public static class HeaderTokenizer.Token
The Token class represents tokens returned by the HeaderTokenizer.
| 字段摘要 | |
|---|---|
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. |
| 构造方法摘要 | |
|---|---|
HeaderTokenizer.Token(int type,
String value)
Constructor. |
|
| 方法摘要 | |
|---|---|
int |
getType()
Return the type of the token. |
String |
getValue()
Returns the value of the token just read. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public static final int ATOM
public static final int QUOTEDSTRING
public static final int COMMENT
public static final int EOF
| 构造方法详细信息 |
|---|
public HeaderTokenizer.Token(int type,
String value)
type - Token typevalue - Token value| 方法详细信息 |
|---|
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()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||