public static enum ULocale.AvailableType extends Enum<ULocale.AvailableType>
Enum Constant and Description |
---|
DEFAULT
Locales that return data when passed to ICU APIs,
but not including legacy or alias locales.
|
ONLY_LEGACY_ALIASES
Legacy or alias locales that return data when passed to ICU APIs.
|
WITH_LEGACY_ALIASES
The union of the locales in DEFAULT and ONLY_LEGACY_ALIASES.
|
Modifier and Type | Method and Description |
---|---|
static ULocale.AvailableType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ULocale.AvailableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ULocale.AvailableType DEFAULT
public static final ULocale.AvailableType ONLY_LEGACY_ALIASES
public static final ULocale.AvailableType WITH_LEGACY_ALIASES
public static ULocale.AvailableType[] values()
for (ULocale.AvailableType c : ULocale.AvailableType.values()) System.out.println(c);
public static ULocale.AvailableType 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 nullCopyright © 2016 Unicode, Inc. and others.