public enum MailboxType extends Enum<MailboxType>
Enum Constant and Description |
---|
ALLMAIL |
DRAFTS |
INBOX |
OTHER |
SENT |
SPAM |
STARRED |
TRASH |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
static MailboxType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailboxType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailboxType INBOX
public static final MailboxType DRAFTS
public static final MailboxType TRASH
public static final MailboxType SPAM
public static final MailboxType SENT
public static final MailboxType STARRED
public static final MailboxType ALLMAIL
public static final MailboxType OTHER
public static MailboxType[] values()
for (MailboxType c : MailboxType.values()) System.out.println(c);
public static MailboxType 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 String getAttributeName()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.