Uses of Class
jakarta.mail.search.SearchTerm
Packages that use SearchTerm
Package
Description
The Jakarta Mail API
provides classes that model a mail system.
Message search terms for the Jakarta Mail API.
-
Uses of SearchTerm in jakarta.mail
Methods in jakarta.mail with parameters of type SearchTermModifier and TypeMethodDescriptionbooleanMessage.match(SearchTerm term) Apply the specified Search criterion to this message.Message[]Folder.search(SearchTerm term) Search this Folder for messages matching the specified search criterion.Message[]Folder.search(SearchTerm term, Message[] msgs) Search the given array of messages for those that match the specified search criterion. -
Uses of SearchTerm in jakarta.mail.search
Subclasses of SearchTerm in jakarta.mail.searchModifier and TypeClassDescriptionclassThis abstract class implements string comparisons for Message addresses.classThis class implements Message Address comparisons.final classThis class implements the logical AND operator on individual SearchTerms.final classThis class implements searches on a message body.classThis class models the comparison operator.classThis class implements comparisons for Datesfinal classThis class implements comparisons for Message Flags.final classThis class implements string comparisons for the From Address header.final classThis class implements comparisons for the From Address header.final classThis class implements comparisons for Message headers.classThis class implements comparisons for integers.final classThis term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.final classThis class implements comparisons for Message numbers.final classThis class implements the logical NEGATION operator.final classThis class implements the logical OR operator on individual SearchTerms.final classThis class implements comparisons for the Message Received datefinal classThis class implements string comparisons for the Recipient Address headers.final classThis class implements comparisons for the Recipient Address headers.final classThis class implements comparisons for the Message SentDate.final classThis class implements comparisons for Message sizes.classThis class implements the match method for Strings.final classThis class implements comparisons for the message Subject header.Methods in jakarta.mail.search that return SearchTermModifier and TypeMethodDescriptionNotTerm.getTerm()Return the term to negate.AndTerm.getTerms()Return the search terms.OrTerm.getTerms()Return the search terms.Constructors in jakarta.mail.search with parameters of type SearchTermModifierConstructorDescriptionAndTerm(SearchTerm[] t) Constructor that takes an array of SearchTerms.AndTerm(SearchTerm t1, SearchTerm t2) Constructor that takes two terms.Constructor.OrTerm(SearchTerm[] t) Constructor that takes an array of SearchTerms.OrTerm(SearchTerm t1, SearchTerm t2) Constructor that takes two operands.