Name
FromStringTerm
Synopsis
A subclass of AddressStringTerm
that implements a string
comparison on the FROM message field.
public final class FromStringTerm extends AddressStringTerm { // Public Constructors public FromStringTerm( String pattern); // Public Methods Overriding AddressStringTerm 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.