Name
RecipientStringTerm
Synopsis
This is a subclass of AddressStringTerm
that implements a
string comparison on the recipient headers (i.e., TO, CC and BCC, where
available).
public final class RecipientStringTerm extends AddressStringTerm { // Public Constructors public RecipientStringTerm(Message.RecipientType type, String pattern); // Public Instance Methods public Message.RecipientType getRecipientType(); // Public Methods Overriding AddressStringTerm public boolean equals( Object obj); // 1.2 // Public Methods Overriding StringTerm public int hashCode(); // 1.2 // Public Methods Overriding SearchTerm public boolean match( javax.mail.Message msg); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.