Name
RecipientTerm
Synopsis
This is a subclass of AddressTerm
that matches recipient
addresses based on an Address
object.
public final class RecipientTerm extends AddressTerm { // Public Constructors public RecipientTerm(Message.RecipientType type, Address address); // Public Instance Methods public Message.RecipientType getRecipientType(); // Public Methods Overriding AddressTerm public boolean equals( Object obj); // 1.2 public int hashCode(); // 1.2 // Public Methods Overriding SearchTerm public boolean match( javax.mail.Message msg); // Protected Instance Fields protected Message.RecipientType type; }
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.