public static enum LocaleDisplayNames.DialectHandling extends java.lang.Enum<LocaleDisplayNames.DialectHandling>
LocaleDisplayNames.getInstance(ULocale, DialectHandling).| Enum Constant and Description |
|---|
DIALECT_NAMES
Use dialect names when generating a locale name,
e.g. en_GB displays as 'British English'.
|
STANDARD_NAMES
Use standard names when generating a locale name,
e.g. en_GB displays as 'English (United Kingdom)'.
|
| Modifier and Type | Method and Description |
|---|---|
static LocaleDisplayNames.DialectHandling |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocaleDisplayNames.DialectHandling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocaleDisplayNames.DialectHandling STANDARD_NAMES
public static final LocaleDisplayNames.DialectHandling DIALECT_NAMES
public static LocaleDisplayNames.DialectHandling[] values()
for (LocaleDisplayNames.DialectHandling c : LocaleDisplayNames.DialectHandling.values()) System.out.println(c);
public static LocaleDisplayNames.DialectHandling 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 nullCopyright © 2016 Unicode, Inc. and others.