public static enum ChinesePhoneNumberParser.MobileOperator extends Enum<ChinesePhoneNumberParser.MobileOperator>
| Enum Constant and Description |
|---|
CHINA_TELECOM |
CHINA_UNICOME |
CMCC |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ChinesePhoneNumberParser.MobileOperator |
getMobileOperator(String number) |
String[] |
getNumberPrefixes() |
static ChinesePhoneNumberParser.MobileOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChinesePhoneNumberParser.MobileOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChinesePhoneNumberParser.MobileOperator UNKNOWN
public static final ChinesePhoneNumberParser.MobileOperator CHINA_UNICOME
public static final ChinesePhoneNumberParser.MobileOperator CHINA_TELECOM
public static final ChinesePhoneNumberParser.MobileOperator CMCC
public static ChinesePhoneNumberParser.MobileOperator[] values()
for (ChinesePhoneNumberParser.MobileOperator c : ChinesePhoneNumberParser.MobileOperator.values()) System.out.println(c);
public static ChinesePhoneNumberParser.MobileOperator 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 ChinesePhoneNumberParser.MobileOperator getMobileOperator(String number)
public String[] getNumberPrefixes()
Copyright © 2019. All rights reserved.