Name
javax.mail.search.AndTerm — This class holds two or more search terms. The match method returns true if both of the terms are found in a message (logical AND).
Synopsis
public final classAndTerm
extends SearchTerm { // Public Constructors publicAndTerm
(SearchTerm tl, SearchTerm t2); publicAndTerm
(SearchTerm[] t); // Protected Variable protected SearchTerm[]Terms;
// Public Methods public SearchTerm[]getTerms
(); public booleanmatch
(Message msg); }
Hierarchy
java.lang.Object→javax.mail.search.SearchTerm→javax.mail.search.AndTerm
Get Programming Internet Email 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.