public static enum ImapFlag.SystemFlag extends java.lang.Enum<ImapFlag.SystemFlag>
Enum Constant and Description |
---|
ANSWERED |
DELETED |
DRAFT |
IMPORTANT |
RECENT |
SEEN |
Modifier and Type | Method and Description |
---|---|
static ImapFlag.SystemFlag |
valueOf(javax.mail.Flags.Flag systemFlag)
convert from java.mail
Flags.Flag |
static ImapFlag.SystemFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImapFlag.SystemFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImapFlag.SystemFlag SEEN
public static final ImapFlag.SystemFlag ANSWERED
public static final ImapFlag.SystemFlag DRAFT
public static final ImapFlag.SystemFlag DELETED
public static final ImapFlag.SystemFlag IMPORTANT
public static final ImapFlag.SystemFlag RECENT
public static ImapFlag.SystemFlag[] values()
for (ImapFlag.SystemFlag c : ImapFlag.SystemFlag.values()) System.out.println(c);
public static ImapFlag.SystemFlag valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ImapFlag.SystemFlag valueOf(javax.mail.Flags.Flag systemFlag)
Flags.Flag