|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object extended by javax.mail.search.SearchTerm extended by javax.mail.search.AddressTerm extended by javax.mail.search.RecipientTerm
public final class RecipientTerm
This class implements comparisons for the Recipient Address headers.
| Field Summary | |
|---|---|
protected Message.RecipientType |
type
The recipient type. |
| Fields inherited from class javax.mail.search.AddressTerm |
|---|
address |
| Constructor Summary | |
|---|---|
RecipientTerm(Message.RecipientType type,
Address address)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class javax.mail.search.AddressTerm |
|---|
getAddress, match |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Message.RecipientType type
| Constructor Detail |
|---|
public RecipientTerm(Message.RecipientType type, Address address)
type - the recipient typeaddress - the address to match for| Method Detail |
|---|
public Message.RecipientType getRecipientType()
public boolean match(Message msg)
match in class SearchTermmsg - The address match is applied to this Message's recepient
address
public boolean equals(Object obj)
equals in class AddressTermpublic int hashCode()
hashCode in class AddressTerm
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Scripting on this page tracks web page traffic, but does not change the content in any way.