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