Name
BodyTerm
Synopsis
This class implements substring searches on message bodies. The search occurs only if the message is a single-part text message or a multipart message whose first part is text.
public final class BodyTerm extends StringTerm { // Public Constructors public BodyTerm( String pattern); // Public Methods Overriding StringTerm 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.