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 booleanMessage. 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 classAddressStringTermA string comparison of message addresses.classAddressTermA comparison of message addresses.classAndTermA logical AND of a number of search terms.classBodyTermA textual search of the message content.classComparisonTermA comparison for scalar values.classDateTermA date comparison.classFlagTermA comparison of message flags.classFromStringTermA string comparison of the From address header.classFromTermA comparison of the From address.classHeaderTermA case-insensitive string comparison of message header values.classIntegerComparisonTermAn integer comparison.classMessageIDTermA comparison for the RFC822 "Message-Id", a string message identifier for Internet messages that is supposed to be unique per message.classMessageNumberTermA comparison of message numbers.classNotTermProvides the logical negation of the target term.classOrTermA logical OR of a number of search terms.classReceivedDateTermA comparison of message received dates.classRecipientStringTermA string comparison of the recipient headers in a message.classRecipientTermA comparison of recipient headers in a message.classSentDateTermA comparison of message sent dates.classSizeTermA comparison of message sizes.classStringTermA comparison of string values.classSubjectTermA comparison of message subject headers.Fields in javax.mail.search declared as SearchTerm Modifier and Type Field Description protected SearchTermNotTerm. termThe search term to negate.protected SearchTerm[]AndTerm. termsThe target terms.protected SearchTerm[]OrTerm. termsThe target terms.Methods in javax.mail.search that return SearchTerm Modifier and Type Method Description SearchTermNotTerm. 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.
-