public static enum LocaleMatcher.FavorSubtag extends Enum<LocaleMatcher.FavorSubtag>
LocaleMatcher.Builder.setFavorSubtag(LocaleMatcher.FavorSubtag)
Enum Constant and Description |
---|
LANGUAGE
Language differences are most important, then script differences, then region differences.
|
SCRIPT
Makes script differences matter relatively more than language differences.
|
Modifier and Type | Method and Description |
---|---|
static LocaleMatcher.FavorSubtag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocaleMatcher.FavorSubtag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocaleMatcher.FavorSubtag LANGUAGE
public static final LocaleMatcher.FavorSubtag SCRIPT
public static LocaleMatcher.FavorSubtag[] values()
for (LocaleMatcher.FavorSubtag c : LocaleMatcher.FavorSubtag.values()) System.out.println(c);
public static LocaleMatcher.FavorSubtag 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.