| 程序包 | 说明 |
|---|---|
| com.jn.langx.text.i18n |
| 限定符和类型 | 方法和说明 |
|---|---|
static CountryCode |
CountryCode.getByAlpha2Code(String code)
Get a
CountryCode that corresponds to the given ISO 3166-1
alpha-2 code. |
static CountryCode |
CountryCode.getByAlpha3Code(String code)
Get a
CountryCode that corresponds to the given ISO 3166-1
alpha-3 code. |
static CountryCode |
CountryCode.getByAlpha4Code(String code)
Get a
CountryCode that corresponds to the given alpha-4 code. |
static CountryCode |
CountryCode.getByCode(int code)
Get a
CountryCode that corresponds to the given
ISO 3166-1
numeric code. |
static CountryCode |
CountryCode.getByCode(String code)
|
static CountryCode |
CountryCode.getByCode(String code,
boolean caseSensitive)
|
static CountryCode |
CountryCode.getByCodeIgnoreCase(String code)
|
static CountryCode |
CountryCode.getByLocale(Locale locale)
Get a
CountryCode that corresponds to the country code of
the given Locale instance. |
CountryCode |
LocaleCode.getCountry()
Get the country code.
|
static CountryCode |
CountryCode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CountryCode[] |
CountryCode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<CountryCode> |
CountryCode.findByName(Pattern pattern)
Get a list of
CountryCode by a name pattern. |
static List<CountryCode> |
CountryCode.findByName(String regex)
Get a list of
CountryCode by a name regular expression. |
List<CountryCode> |
CurrencyCode.getCountryList()
Get the list of countries using this currency.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<LocaleCode> |
LocaleCode.getByCountry(CountryCode country)
Get a list of
LocaleCode instances whose country matches the given one. |
static List<CurrencyCode> |
CurrencyCode.getByCountry(CountryCode country)
Get a list of
CurrencyCode instances whose country list
contains the specified country. |
Copyright © 2021. All rights reserved.