| java.lang.Object |
| ↳ |
com.google.code.com.sun.mail.imap.SortTerm |
Class Overview
A particular sort criteria, as defined by
RFC 5256.
Sort criteria are used with the
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.
Summary
| Fields |
|
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. |
|
public
static
final
SortTerm |
TO |
Sort by email address of first To recipient. |
|
private
String |
term |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
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. Note that the "base subject"
is defined by RFC 5256 and doesn't include items such as "Re:"
in the subject header.
public
static
final
SortTerm
TO
Sort by email address of first To recipient.
Public Methods
public
String
toString
()