Package | Description |
---|---|
com.sun.mail.imap |
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
|
Modifier and Type | Field and Description |
---|---|
static SortTerm |
SortTerm.ARRIVAL
Sort by message arrival date and time.
|
static SortTerm |
SortTerm.CC
Sort by email address of first Cc recipient.
|
static SortTerm |
SortTerm.DATE
Sort by sent date and time.
|
static SortTerm |
SortTerm.FROM
Sort by first From email address.
|
static SortTerm |
SortTerm.REVERSE
Reverse the sort order of the following item.
|
static SortTerm |
SortTerm.SIZE
Sort by the message size.
|
static SortTerm |
SortTerm.SUBJECT
Sort by the base subject text.
|
static SortTerm |
SortTerm.TO
Sort by email address of first To recipient.
|
Modifier and Type | Method and Description |
---|---|
Message[] |
IMAPFolder.getSortedMessages(SortTerm[] term)
Sort the messages in the folder according to the sort criteria.
|
Message[] |
IMAPFolder.getSortedMessages(SortTerm[] term,
SearchTerm sterm)
Sort the messages in the folder according to the sort criteria.
|
Copyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.