## Uses of Class
com.sun.mail.imap.SortTerm

- Packages that use SortTerm
  Package | Description
  --- | ---
  com.sun.mail.imap | 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 SortTerm
    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.

    Methods in com.sun.mail.imap with parameters of type SortTerm
    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 © 2013 Oracle. All Rights Reserved.