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 class AndTerm extends SearchTerm {
    // Public Constructors
            public AndTerm(SearchTerm tl, SearchTerm t2);
            public AndTerm(SearchTerm[] t);
    // Protected Variable
            protected SearchTerm[] Terms;
    // Public Methods
            public SearchTerm[] getTerms();
            public boolean match(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.