Uses of Class
javax.mail.search.SearchTerm
Packages that use SearchTerm
Package
Description
An EXPERIMENTAL IMAP protocol provider that supports the
Gmail-specific IMAP protocol extensions
.
An IMAP protocol provider for the Jakarta Mail API
that provides access to an IMAP message store.
This package includes internal IMAP support classes and
SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.
The Jakarta Mail API
provides classes that model a mail system.
Message search terms for the Jakarta Mail API.
-
Uses of SearchTerm in com.sun.mail.gimap
Subclasses of SearchTerm in com.sun.mail.gimapModifier and TypeClassDescriptionfinal class
This class implements searching for the Gmail message ID.final class
This class implements searching using the Gmail X-GM-RAW extension.final class
This class implements searching for the Gmail thread ID. -
Uses of SearchTerm in com.sun.mail.gimap.protocol
Methods in com.sun.mail.gimap.protocol with parameters of type SearchTermModifier and TypeMethodDescriptionGmailSearchSequence.generateSequence
(SearchTerm term, String charset) -
Uses of SearchTerm in com.sun.mail.imap
Subclasses of SearchTerm in com.sun.mail.imapModifier and TypeClassDescriptionfinal class
Find messages that have been modified since a given MODSEQ value.final class
Find messages that are older than a given interval (in seconds).final class
Find messages that are younger than a given interval (in seconds).Methods in com.sun.mail.imap with parameters of type SearchTermModifier and TypeMethodDescriptionMessage[]
IMAPFolder.getSortedMessages
(SortTerm[] term, SearchTerm sterm) Sort the messages in the folder according to the sort criteria.Message[]
IMAPFolder.search
(SearchTerm term) Search whole folder for messages matching the given term.Message[]
IMAPFolder.search
(SearchTerm term, Message[] msgs) Search the folder for messages matching the given term. -
Uses of SearchTerm in com.sun.mail.imap.protocol
Methods in com.sun.mail.imap.protocol with parameters of type SearchTermModifier and TypeMethodDescriptionSearchSequence.generateSequence
(SearchTerm term, String charset) Generate the IMAP search sequence for the given search expression.static boolean
SearchSequence.isAscii
(SearchTerm term) Check if the "text" terms in the given SearchTerm contain non US-ASCII characters.static boolean
SearchSequence.isAscii
(SearchTerm[] terms) Check if any of the "text" terms in the given SearchTerms contain non US-ASCII characters.int[]
IMAPProtocol.search
(MessageSet[] msgsets, SearchTerm term) Issue the given search criterion on the specified message sets.int[]
IMAPProtocol.search
(SearchTerm term) Issue the given search criterion on all messages in this folder.int[]
IMAPProtocol.sort
(SortTerm[] term, SearchTerm sterm) Sort messages in the folder according to the specified sort criteria. -
Uses of SearchTerm in javax.mail
Methods in javax.mail with parameters of type SearchTermModifier 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 javax.mail.search
Subclasses of SearchTerm in javax.mail.searchModifier 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.Methods in javax.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 javax.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.OrTerm
(SearchTerm[] t) Constructor that takes an array of SearchTerms.OrTerm
(SearchTerm t1, SearchTerm t2) Constructor that takes two operands.