Uses of Class
com.sun.mail.imap.SortTerm
Packages that use SortTerm
Package
Description
An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store.
-
Uses of SortTerm in com.sun.mail.imap
Fields in com.sun.mail.imap declared as SortTermModifier and TypeFieldDescriptionstatic final SortTerm
SortTerm.ARRIVAL
Sort by message arrival date and time.static final SortTerm
SortTerm.CC
Sort by email address of first Cc recipient.static final SortTerm
SortTerm.DATE
Sort by sent date and time.static final SortTerm
SortTerm.FROM
Sort by first From email address.static final SortTerm
SortTerm.REVERSE
Reverse the sort order of the following item.static final SortTerm
SortTerm.SIZE
Sort by the message size.static final SortTerm
SortTerm.SUBJECT
Sort by the base subject text.static final SortTerm
SortTerm.TO
Sort by email address of first To recipient.Methods in com.sun.mail.imap with parameters of type SortTermModifier and TypeMethodDescriptionMessage[]
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.