Package | Description |
---|---|
com.sun.mail.gimap |
An EXPERIMENTAL IMAP protocol provider that supports the
Gmail-specific IMAP protocol extensions
.
|
com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
javax.mail |
The JavaMail™ API
provides classes that model a mail system.
|
javax.mail.search |
Message search terms for the JavaMail API.
|
Modifier and Type | Class and Description |
---|---|
class |
GmailMsgIdTerm
This class implements searching for the Gmail message ID.
|
class |
GmailRawSearchTerm
This class implements searching using the Gmail X-GM-RAW extension.
|
class |
GmailThrIdTerm
This class implements searching for the Gmail thread ID.
|
Modifier and Type | Class and Description |
---|---|
class |
ModifiedSinceTerm
Find messages that have been modified since a given MODSEQ value.
|
class |
OlderTerm
Find messages that are older than a given interval (in seconds).
|
class |
YoungerTerm
Find messages that are younger than a given interval (in seconds).
|
Modifier and Type | Method and Description |
---|---|
Message[] |
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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Class and 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 Dates
|
class |
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 date
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
SearchTerm |
NotTerm.getTerm()
Return the term to negate.
|
SearchTerm[] |
OrTerm.getTerms()
Return the search terms.
|
SearchTerm[] |
AndTerm.getTerms()
Return the search terms.
|
Constructor and Description |
---|
AndTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms.
|
AndTerm(SearchTerm t1,
SearchTerm t2)
Constructor that takes two terms.
|
NotTerm(SearchTerm t) |
OrTerm(SearchTerm[] t)
Constructor that takes an array of SearchTerms.
|
OrTerm(SearchTerm t1,
SearchTerm t2)
Constructor that takes two operands.
|
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.