java.lang.Object | +--javax.mail.search.SearchTerm | +--javax.mail.search.StringTerm | +--javax.mail.search.AddressStringTerm | +--javax.mail.search.RecipientStringTerm
The recipient type. |
RecipientStringTerm(Message.RecipientType type, String pattern) Constructor. |
boolean | equals(Object other) Equality comparison. |
Return the type of recipient to match with. | |
int | hashCode() Compute a hashCode for this object. |
boolean | Check whether the address specified in the constructor is a substring of the recipient address of this Message. |
protected Message.RecipientType type
public RecipientStringTerm(Message.RecipientType type, String pattern)
public boolean equals(Object other)
public Message.RecipientType getRecipientType()
public int hashCode()
public boolean match(Message msg)