Uses of Class
jakarta.mail.search.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
Modifier and TypeMethodDescriptionboolean
Message.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
Modifier and TypeClassDescriptionclass
This abstract class implements string comparisons for Message addresses.class
This class implements Message Address comparisons.final class
This class implements the logical AND operator on individual SearchTerms.final class
This class implements searches on a message body.class
This class models the comparison operator.class
This class implements comparisons for Datesfinal class
This class implements comparisons for Message Flags.final class
This class implements string comparisons for the From Address header.final class
This class implements comparisons for the From Address header.final class
This class implements comparisons for Message headers.class
This class implements comparisons for integers.final class
This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.final class
This class implements comparisons for Message numbers.final class
This class implements the logical NEGATION operator.final class
This class implements the logical OR operator on individual SearchTerms.final class
This class implements comparisons for the Message Received datefinal class
This class implements string comparisons for the Recipient Address headers.final class
This class implements comparisons for the Recipient Address headers.final class
This class implements comparisons for the Message SentDate.final class
This class implements comparisons for Message sizes.class
This class implements the match method for Strings.final class
This class implements comparisons for the message Subject header.Modifier and TypeMethodDescriptionNotTerm.getTerm()
Return the term to negate.AndTerm.getTerms()
Return the search terms.OrTerm.getTerms()
Return the search terms.ModifierConstructorDescriptionAndTerm
(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.