|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail.search Class HeaderTerm
java.lang.Object javax.mail.search.SearchTerm javax.mail.search.StringTerm javax.mail.search.HeaderTerm
- 所有已实现的接口:
- Serializable
public final class HeaderTerm
- extends StringTerm
This class implements comparisons for Message headers. The comparison is case-insensitive.
- 作者:
- Bill Shannon, John Mani
- 另请参见:
- Serialized Form
字段摘要 | |
---|---|
protected String |
headerName
The name of the header. |
Fields inherited from class javax.mail.search.StringTerm |
---|
ignoreCase, pattern |
构造器摘要 | |
---|---|
HeaderTerm(String headerName,
String pattern)
Constructor. |
方法摘要 | |
---|---|
boolean |
equals(Object obj)
Equality comparison. |
String |
getHeaderName()
Return the name of the header to compare with. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
The header match method. |
类方法继承 javax.mail.search.StringTerm |
---|
getIgnoreCase, getPattern, match |
类方法继承 java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
headerName
protected String headerName
- The name of the header.
构造器详细信息 |
---|
HeaderTerm
public HeaderTerm(String headerName, String pattern)
- Constructor.
- 参数:
headerName
- The name of the headerpattern
- The pattern to search for
方法详细信息 |
---|
getHeaderName
public String getHeaderName()
- Return the name of the header to compare with.
match
public boolean match(Message msg)
- The header match method.
- 规范说明:
match
in classSearchTerm
- 参数:
msg
- The match is applied to this Message's header- 返回:
- true if the match succeeds, otherwise false
equals
public boolean equals(Object obj)
- Equality comparison.
- 重写:
equals
in classStringTerm
hashCode
public int hashCode()
- Compute a hashCode for this object.
- 重写:
hashCode
in classStringTerm
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.