public static enum DisplayOptions.NameStyle extends java.lang.Enum<DisplayOptions.NameStyle>
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)'.
|
UNDEFINED
A possible setting for NameStyle.
|
Modifier and Type | Field and Description |
---|---|
static java.util.List<DisplayOptions.NameStyle> |
VALUES
Unmodifiable List of all name styles constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.NameStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptions.NameStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptions.NameStyle UNDEFINED
public static final DisplayOptions.NameStyle STANDARD_NAMES
public static final DisplayOptions.NameStyle DIALECT_NAMES
public static final java.util.List<DisplayOptions.NameStyle> VALUES
values()
.public static DisplayOptions.NameStyle[] values()
for (DisplayOptions.NameStyle c : DisplayOptions.NameStyle.values()) System.out.println(c);
public static DisplayOptions.NameStyle 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.