public enum SentenceLocale extends java.lang.Enum<SentenceLocale>
Enum Constant and Description |
---|
English_UK |
English_US |
French |
German |
Italian |
Spain |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
restValue |
Modifier and Type | Method and Description |
---|---|
static SentenceLocale |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SentenceLocale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SentenceLocale English_US
public static final SentenceLocale English_UK
public static final SentenceLocale Spain
public static final SentenceLocale French
public static final SentenceLocale German
public static final SentenceLocale Italian
public static SentenceLocale[] values()
for (SentenceLocale c : SentenceLocale.values()) System.out.println(c);
public static SentenceLocale 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 © 2019. All Rights Reserved.