private static enum AppInfo.SupportedLocales extends java.lang.Enum<AppInfo.SupportedLocales>
Enum Constant and Description |
---|
EN
En supported locales.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
language |
Modifier and Type | Method and Description |
---|---|
(package private) static AppInfo.SupportedLocales |
findByString(java.lang.String localeString)
Find by string supported locales.
|
static AppInfo.SupportedLocales |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppInfo.SupportedLocales[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppInfo.SupportedLocales EN
public static AppInfo.SupportedLocales[] values()
for (AppInfo.SupportedLocales c : AppInfo.SupportedLocales.values()) System.out.println(c);
public static AppInfo.SupportedLocales 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 nullstatic AppInfo.SupportedLocales findByString(java.lang.String localeString)
localeString
- the locale string