Uses of Class
com.sun.mail.imap.SortTerm
Packages that use SortTerm
Package
Description
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.
-
Uses of SortTerm in com.sun.mail.imap
Fields in com.sun.mail.imap declared as SortTermModifier and TypeFieldDescriptionstatic final SortTermSortTerm.ARRIVALSort by message arrival date and time.static final SortTermSortTerm.CCSort by email address of first Cc recipient.static final SortTermSortTerm.DATESort by sent date and time.static final SortTermSortTerm.FROMSort by first From email address.static final SortTermSortTerm.REVERSEReverse the sort order of the following item.static final SortTermSortTerm.SIZESort by the message size.static final SortTermSortTerm.SUBJECTSort by the base subject text.static final SortTermSortTerm.TOSort 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. -
Uses of SortTerm in com.sun.mail.imap.protocol
Methods in com.sun.mail.imap.protocol with parameters of type SortTermModifier and TypeMethodDescriptionint[]IMAPProtocol.sort(SortTerm[] term, SearchTerm sterm) Sort messages in the folder according to the specified sort criteria.