public enum SentenceLocale extends Enum<SentenceLocale>
Enum Constant and Description |
---|
English_UK |
English_US |
French |
German |
Italian |
Spain |
Modifier and Type | Method and Description |
---|---|
static SentenceLocale |
valueOf(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 final String restValue
public static SentenceLocale[] values()
for (SentenceLocale c : SentenceLocale.values()) System.out.println(c);
public static SentenceLocale 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 © 2015. All Rights Reserved.