javax.mail.search
Class RecipientTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.AddressTerm
javax.mail.search.RecipientTerm
- All Implemented Interfaces:
- java.io.Serializable
public final class RecipientTerm
- extends AddressTerm
- Version:
- $Rev: 467553 $ $Date: 2006-10-25 06:01:51 +0200 (Wed, 25 Oct 2006) $
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
type
protected Message.RecipientType type
RecipientTerm
public RecipientTerm(Message.RecipientType type,
Address address)
getRecipientType
public Message.RecipientType getRecipientType()
match
public boolean match(Message message)
- Description copied from class:
SearchTerm
- Checks a matching criteria defined by the concrete subclass of this Term.
- Specified by:
match
in class SearchTerm
- Parameters:
message
- the message to apply the matching criteria to
- Returns:
- true if the matching criteria is met
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class AddressTerm
hashCode
public int hashCode()
- Overrides:
hashCode
in class AddressTerm