javax.mail.search
public final class RecipientTerm extends AddressTerm
Version: 1.3
Field Summary | |
---|---|
protected Message.RecipientType | type
The recipient type. |
Constructor Summary | |
---|---|
RecipientTerm(Message.RecipientType type, Address address)
Constructor. |
Method Summary | |
---|---|
boolean | equals(Object other) |
Message.RecipientType | getRecipientType()
Returns the recipient type. |
int | hashCode() |
boolean | match(Message msg)
Returns true only if the recipient address in the given message matches
the address specified in this term. |
Parameters: type the recipient type address the address to match