public enum SearchKey extends Enum<SearchKey>
Read more: https://tools.ietf.org/html/rfc3501
Two uniqueid values and all values between these two regards of order.
Example: 2:4 and 4:2 are equivalent.
Enum Constant and Description |
---|
ALL |
ANSWERED |
BCC |
CC |
DELETED |
DRAFT |
FLAGGED |
FROM |
HEADER |
KEYWORD |
NEW |
NOT |
OLD |
RECENT |
SEEN |
SEQUENCE_SET
<sequence set> - Messages with message sequence numbers corresponding
to the specified message sequence number set.
|
SUBJECT |
TO |
UID |
UNANSWERED |
UNDELETED |
UNDRAFT |
UNFLAGGED |
UNKEYWORD |
UNSEEN |
Modifier and Type | Method and Description |
---|---|
int |
getNumberOfParameters() |
boolean |
isOperator() |
static SearchKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchKey ALL
public static final SearchKey ANSWERED
public static final SearchKey BCC
public static final SearchKey CC
public static final SearchKey DELETED
public static final SearchKey DRAFT
public static final SearchKey FLAGGED
public static final SearchKey FROM
public static final SearchKey HEADER
public static final SearchKey KEYWORD
public static final SearchKey NEW
public static final SearchKey NOT
public static final SearchKey OLD
public static final SearchKey RECENT
public static final SearchKey SEEN
public static final SearchKey SUBJECT
public static final SearchKey TO
public static final SearchKey UID
public static final SearchKey UNANSWERED
public static final SearchKey UNDELETED
public static final SearchKey UNDRAFT
public static final SearchKey UNFLAGGED
public static final SearchKey UNKEYWORD
public static final SearchKey UNSEEN
public static final SearchKey SEQUENCE_SET
public static SearchKey[] values()
for (SearchKey c : SearchKey.values()) System.out.println(c);
public static SearchKey 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 nullpublic int getNumberOfParameters()
public boolean isOperator()
Copyright © 2006–2019 Icegreen Technologies. All rights reserved.