|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.AddressTerm
javax.mail.search.RecipientTerm
public final class RecipientTerm
This class implements comparisons for the Recipient Address headers.
| 字段摘要 | |
|---|---|
protected Message.RecipientType |
type
The recipient type. |
| 从类 javax.mail.search.AddressTerm 继承的字段 |
|---|
address |
| 构造方法摘要 | |
|---|---|
RecipientTerm(Message.RecipientType type,
Address address)
Constructor. |
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object obj)
Equality comparison. |
Message.RecipientType |
getRecipientType()
Return the type of recipient to match with. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
The match method. |
| 从类 javax.mail.search.AddressTerm 继承的方法 |
|---|
getAddress, match |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Message.RecipientType type
| 构造方法详细信息 |
|---|
public RecipientTerm(Message.RecipientType type,
Address address)
type - the recipient typeaddress - the address to match for| 方法详细信息 |
|---|
public Message.RecipientType getRecipientType()
public boolean match(Message msg)
SearchTerm 中的 matchmsg - The address match is applied to this Message's recepient
address
public boolean equals(Object obj)
AddressTerm 中的 equalspublic int hashCode()
AddressTerm 中的 hashCode
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||