getSortedMessages method.
Multiple sort criteria are specified in an array with the order in
the array specifying the order in which the sort criteria are applied.
| Modifier and Type | Field and Description |
|---|---|
| public static final SortTerm | ARRIVAL
Sort by message arrival date and time. |
| public static final SortTerm | CC
Sort by email address of first Cc recipient. |
| public static final SortTerm | DATE
Sort by sent date and time. |
| public static final SortTerm | FROM
Sort by first From email address. |
| public static final SortTerm | REVERSE
Reverse the sort order of the following item. |
| public static final SortTerm | SIZE
Sort by the message size. |
| public static final SortTerm | SUBJECT
Sort by the base subject text. |
| private String | |
| public static final SortTerm | TO
Sort by email address of first To recipient. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| ARRIVAL | back to summary |
|---|---|
| public static final SortTerm ARRIVAL Sort by message arrival date and time. | |
| CC | back to summary |
|---|---|
| public static final SortTerm CC Sort by email address of first Cc recipient. | |
| DATE | back to summary |
|---|---|
| public static final SortTerm DATE Sort by sent date and time. | |
| FROM | back to summary |
|---|---|
| public static final SortTerm FROM Sort by first From email address. | |
| REVERSE | back to summary |
|---|---|
| public static final SortTerm REVERSE Reverse the sort order of the following item. | |
| SIZE | back to summary |
|---|---|
| public static final SortTerm SIZE Sort by the message size. | |
| SUBJECT | back to summary |
|---|---|
| public static final SortTerm SUBJECT Sort by the base subject text. Note that the "base subject" is defined by RFC 5256 and doesn't include items such as "Re:" in the subject header. | |
| term | back to summary |
|---|---|
| private String term | |
| TO | back to summary |
|---|---|
| public static final SortTerm TO Sort by email address of first To recipient. | |
| SortTerm | back to summary |
|---|---|
| private SortTerm(String term) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |