Uses of Class
javax.mail.search.SearchTerm
-
Packages that use SearchTerm Package Description gnu.mail.providers.imap This is a provider for the Internet Message Access Protocol, version 4rev1 (IMAP4rev1), as detailed in RFC 3501.javax.mail Classes modelling a mail system.javax.mail.search Search expressions for executing searches on the messages in a folder. -
-
Uses of SearchTerm in gnu.mail.providers.imap
Methods in gnu.mail.providers.imap with parameters of type SearchTerm Modifier and Type Method Description Message[]
IMAPFolder. search(SearchTerm term)
IMAP search function.Message[]
IMAPFolder. search(SearchTerm term, Message[] msgs)
IMAP search function. -
Uses of SearchTerm in javax.mail
Methods in javax.mail with parameters of type SearchTerm Modifier and Type Method Description boolean
Message. match(SearchTerm term)
Indicates whether the specified search term applies to this message.Message[]
Folder. search(SearchTerm term)
Searches this folder for messages matching the specified search term.Message[]
Folder. search(SearchTerm term, Message[] msgs)
Searches the given messages for those matching the specified search term. -
Uses of SearchTerm in javax.mail.search
Subclasses of SearchTerm in javax.mail.search Modifier and Type Class Description class
AddressStringTerm
A string comparison of message addresses.class
AddressTerm
A comparison of message addresses.class
AndTerm
A logical AND of a number of search terms.class
BodyTerm
A textual search of the message content.class
ComparisonTerm
A comparison for scalar values.class
DateTerm
A date comparison.class
FlagTerm
A comparison of message flags.class
FromStringTerm
A string comparison of the From address header.class
FromTerm
A comparison of the From address.class
HeaderTerm
A case-insensitive string comparison of message header values.class
IntegerComparisonTerm
An integer comparison.class
MessageIDTerm
A comparison for the RFC822 "Message-Id", a string message identifier for Internet messages that is supposed to be unique per message.class
MessageNumberTerm
A comparison of message numbers.class
NotTerm
Provides the logical negation of the target term.class
OrTerm
A logical OR of a number of search terms.class
ReceivedDateTerm
A comparison of message received dates.class
RecipientStringTerm
A string comparison of the recipient headers in a message.class
RecipientTerm
A comparison of recipient headers in a message.class
SentDateTerm
A comparison of message sent dates.class
SizeTerm
A comparison of message sizes.class
StringTerm
A comparison of string values.class
SubjectTerm
A comparison of message subject headers.Fields in javax.mail.search declared as SearchTerm Modifier and Type Field Description protected SearchTerm
NotTerm. term
The search term to negate.protected SearchTerm[]
AndTerm. terms
The target terms.protected SearchTerm[]
OrTerm. terms
The target terms.Methods in javax.mail.search that return SearchTerm Modifier and Type Method Description SearchTerm
NotTerm. getTerm()
Returns the term to negate.SearchTerm[]
AndTerm. getTerms()
Returns the search terms.SearchTerm[]
OrTerm. getTerms()
Returns the search terms.Constructors in javax.mail.search with parameters of type SearchTerm Constructor Description AndTerm(SearchTerm[] t)
Constructor with multiple terms.AndTerm(SearchTerm t1, SearchTerm t2)
Constructor with two terms.NotTerm(SearchTerm t)
OrTerm(SearchTerm[] t)
Constructor with multiple search terms.OrTerm(SearchTerm t1, SearchTerm t2)
Constructor with two operands.
-