public static enum SearchQuery.Sort.SortClause extends Enum<SearchQuery.Sort.SortClause>
Enum Constant and Description |
---|
Arrival
Internal date and time of the message (internaldate)
|
BaseSubject
Base subject text.
|
DisplayFrom
addr-name of the first "From" address
This MUST BE converted to uppercase before doing the sort
|
DisplayTo
addr-name of the first "To" address
This MUST BE converted to uppercase before doing the sort
|
MailboxCc
addr-mailbox of the first "cc" address.
|
MailboxFrom
addr-mailbox of the first "from" address.
|
MailboxTo
addr-mailbox of the first "To" address
This MUST BE converted to uppercase before doing the sort
|
SentDate
As used in this document, the term "sent date" refers to the date and
time from the Date: header, adjusted by time zone to normalize to
UTC.
|
Size
Size of the message in octets.
|
Uid
Uid of the message.
|
Modifier and Type | Method and Description |
---|---|
static SearchQuery.Sort.SortClause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchQuery.Sort.SortClause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchQuery.Sort.SortClause Arrival
public static final SearchQuery.Sort.SortClause MailboxCc
public static final SearchQuery.Sort.SortClause MailboxFrom
public static final SearchQuery.Sort.SortClause MailboxTo
public static final SearchQuery.Sort.SortClause BaseSubject
public static final SearchQuery.Sort.SortClause Size
public static final SearchQuery.Sort.SortClause SentDate
As used in this document, the term "sent date" refers to the date and time from the Date: header, adjusted by time zone to normalize to UTC. For example, "31 Dec 2000 16:01:33 -0800" is equivalent to the UTC date and time of "1 Jan 2001 00:01:33 +0000". If the time zone is invalid, the date and time SHOULD be treated as UTC. If the time is also invalid, the time SHOULD be treated as 00:00:00. If there is no valid date or time, the date and time SHOULD be treated as 00:00:00 on the earliest possible date. If the sent date cannot be determined (a Date: header is missing or cannot be parsed), the INTERNALDATE for that message is used as the sent date.
public static final SearchQuery.Sort.SortClause DisplayFrom
public static final SearchQuery.Sort.SortClause DisplayTo
public static final SearchQuery.Sort.SortClause Uid
public static SearchQuery.Sort.SortClause[] values()
for (SearchQuery.Sort.SortClause c : SearchQuery.Sort.SortClause.values()) System.out.println(c);
public static SearchQuery.Sort.SortClause valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.