public enum RecipientType extends Enum<RecipientType>
Modifier and Type | Field and Description |
---|---|
private static Map<String,RecipientType> |
typesByUri |
private String |
uri |
Modifier and Type | Method and Description |
---|---|
static RecipientType |
fromUri(String uri) |
String |
getUri() |
static RecipientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecipientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecipientType BCC
public static final RecipientType CC
public static final RecipientType TO
private static final Map<String,RecipientType> typesByUri
public static RecipientType[] values()
for (RecipientType c : RecipientType.values()) System.out.println(c);
public static RecipientType 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 static RecipientType fromUri(String uri)
Copyright © 2015. All Rights Reserved.