public enum MessageBox extends java.lang.Enum<MessageBox>
| Enum Constant and Description |
|---|
INBOX |
SENT_ITEMS |
TRASH |
| Modifier and Type | Method and Description |
|---|---|
static MessageBox |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageBox[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageBox INBOX
public static final MessageBox SENT_ITEMS
public static final MessageBox TRASH
public static MessageBox[] values()
for (MessageBox c : MessageBox.values()) System.out.println(c);
public static MessageBox 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 null