public static enum PhoneNumberUtil.PhoneNumberType extends java.lang.Enum<PhoneNumberUtil.PhoneNumberType>
| 枚举常量和说明 |
|---|
FIXED_LINE |
FIXED_LINE_OR_MOBILE |
MOBILE |
PAGER |
PERSONAL_NUMBER |
PREMIUM_RATE |
SHARED_COST |
TOLL_FREE |
UAN |
UNKNOWN |
VOICEMAIL |
VOIP |
| 限定符和类型 | 方法和说明 |
|---|---|
static PhoneNumberUtil.PhoneNumberType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static PhoneNumberUtil.PhoneNumberType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final PhoneNumberUtil.PhoneNumberType FIXED_LINE
public static final PhoneNumberUtil.PhoneNumberType MOBILE
public static final PhoneNumberUtil.PhoneNumberType FIXED_LINE_OR_MOBILE
public static final PhoneNumberUtil.PhoneNumberType TOLL_FREE
public static final PhoneNumberUtil.PhoneNumberType PREMIUM_RATE
public static final PhoneNumberUtil.PhoneNumberType SHARED_COST
public static final PhoneNumberUtil.PhoneNumberType VOIP
public static final PhoneNumberUtil.PhoneNumberType PERSONAL_NUMBER
public static final PhoneNumberUtil.PhoneNumberType PAGER
public static final PhoneNumberUtil.PhoneNumberType UAN
public static final PhoneNumberUtil.PhoneNumberType VOICEMAIL
public static final PhoneNumberUtil.PhoneNumberType UNKNOWN
public static PhoneNumberUtil.PhoneNumberType[] values()
for (PhoneNumberUtil.PhoneNumberType c : PhoneNumberUtil.PhoneNumberType.values()) System.out.println(c);
public static PhoneNumberUtil.PhoneNumberType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值