javax.mail.search
public final class RecipientStringTerm extends AddressStringTerm
Version: 1.3
Constructor Summary | |
---|---|
RecipientStringTerm(Message.RecipientType type, String pattern)
Constructor. |
Method Summary | |
---|---|
boolean | equals(Object other) |
Message.RecipientType | getRecipientType()
Return the recipient type. |
int | hashCode() |
boolean | match(Message msg)
Returns true only if the address specified in this term is a substring
of the recipient address in the given message. |
Parameters: type the recipient type address the address pattern for comparison