Uses of Class
jakarta.mail.search.SearchTerm
-
Packages that use SearchTerm Package Description jakarta.mail The Jakarta Mail API provides classes that model a mail system.jakarta.mail.search Message search terms for the Jakarta Mail API. -
-
Uses of SearchTerm in jakarta.mail
Methods in jakarta.mail with parameters of type SearchTerm Modifier and Type Method Description boolean
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
Subclasses of SearchTerm in jakarta.mail.search Modifier and Type Class Description class
AddressStringTerm
This abstract class implements string comparisons for Message addresses.class
AddressTerm
This class implements Message Address comparisons.class
AndTerm
This class implements the logical AND operator on individual SearchTerms.class
BodyTerm
This class implements searches on a message body.class
ComparisonTerm
This class models the comparison operator.class
DateTerm
This class implements comparisons for Datesclass
FlagTerm
This class implements comparisons for Message Flags.class
FromStringTerm
This class implements string comparisons for the From Address header.class
FromTerm
This class implements comparisons for the From Address header.class
HeaderTerm
This class implements comparisons for Message headers.class
IntegerComparisonTerm
This class implements comparisons for integers.class
MessageIDTerm
This term models the RFC822 "MessageId" - a message-id for Internet messages that is supposed to be unique per message.class
MessageNumberTerm
This class implements comparisons for Message numbers.class
NotTerm
This class implements the logical NEGATION operator.class
OrTerm
This class implements the logical OR operator on individual SearchTerms.class
ReceivedDateTerm
This class implements comparisons for the Message Received dateclass
RecipientStringTerm
This class implements string comparisons for the Recipient Address headers.class
RecipientTerm
This class implements comparisons for the Recipient Address headers.class
SentDateTerm
This class implements comparisons for the Message SentDate.class
SizeTerm
This class implements comparisons for Message sizes.class
StringTerm
This class implements the match method for Strings.class
SubjectTerm
This class implements comparisons for the message Subject header.Fields in jakarta.mail.search declared as SearchTerm Modifier and Type Field Description private SearchTerm
NotTerm. term
The search term to negate.private SearchTerm[]
AndTerm. terms
The array of terms on which the AND operator should be applied.private SearchTerm[]
OrTerm. terms
The array of terms on which the OR operator should be applied.Methods in jakarta.mail.search that return SearchTerm Modifier and Type Method Description SearchTerm
NotTerm. getTerm()
Return the term to negate.SearchTerm[]
AndTerm. getTerms()
Return the search terms.SearchTerm[]
OrTerm. getTerms()
Return the search terms.Constructors in jakarta.mail.search with parameters of type SearchTerm Constructor Description AndTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms.AndTerm(SearchTerm t1, SearchTerm t2)
Constructor that takes two terms.NotTerm(SearchTerm t)
Constructor.OrTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms.OrTerm(SearchTerm t1, SearchTerm t2)
Constructor that takes two operands.
-