org.ferris.yahoo.finance.jmce.bean
Enum EmailAddress.Type
java.lang.Object
java.lang.Enum<EmailAddress.Type>
org.ferris.yahoo.finance.jmce.bean.EmailAddress.Type
- All Implemented Interfaces:
- Serializable, Comparable<EmailAddress.Type>
- Enclosing class:
- EmailAddress
public static enum EmailAddress.Type
- extends Enum<EmailAddress.Type>
cc
public static final EmailAddress.Type cc
bcc
public static final EmailAddress.Type bcc
to
public static final EmailAddress.Type to
from
public static final EmailAddress.Type from
reply
public static final EmailAddress.Type reply
values
public static EmailAddress.Type[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EmailAddress.Type c : EmailAddress.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EmailAddress.Type valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.