|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.StringTerm
javax.mail.search.HeaderTerm
public final class HeaderTerm
This class implements comparisons for Message headers. The comparison is case-insensitive.
| 字段摘要 | |
|---|---|
protected String |
headerName
The name of the header. |
| 从类 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 |
| 字段详细信息 |
|---|
protected String headerName
| 构造方法详细信息 |
|---|
public HeaderTerm(String headerName,
String pattern)
headerName - The name of the headerpattern - The pattern to search for| 方法详细信息 |
|---|
public String getHeaderName()
public boolean match(Message msg)
SearchTerm 中的 matchmsg - The match is applied to this Message's header
public boolean equals(Object obj)
StringTerm 中的 equalspublic int hashCode()
StringTerm 中的 hashCode
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||