Name

FromTerm

Synopsis

This is a subclass of AddressTerm that matches sender addresses based on an Address object.

                  
public final class FromTerm extends AddressTerm {
// Public Constructors
   public FromTerm( Address address);  
// Public Methods Overriding AddressTerm
   public boolean equals( Object obj);                           // 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.