public enum TdbLanguage extends java.lang.Enum<TdbLanguage>
Enum Constant and Description |
---|
Chinese
Reads dialect from CHINESE.CCL
|
DefaultLanguage
Default, unmodified dialect, doesn't read a CCL definition file
|
English
Reads dialect from ENGLISH.CCL
|
Finnish
Reads dialect from FINNISH.CCL
|
French
Reads dialect from FRENCH.CCL
|
German
Reads dialect from GERMAN.CCL
|
Japanese
Reads dialect from JAPANESE.CCL
|
Norwegian
Reads dialect from NORWEGIAN.CCL
|
Swedish
Reads dialect from SWEDISH.CCL
|
Modifier and Type | Method and Description |
---|---|
int |
getLanguageId()
Retrieve the ID that corresponds to the language code
|
static TdbLanguage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbLanguage DefaultLanguage
public static final TdbLanguage English
public static final TdbLanguage Swedish
public static final TdbLanguage Chinese
public static final TdbLanguage German
public static final TdbLanguage French
public static final TdbLanguage Finnish
public static final TdbLanguage Norwegian
public static final TdbLanguage Japanese
public static TdbLanguage[] values()
for (TdbLanguage c : TdbLanguage.values()) System.out.println(c);
public static TdbLanguage 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 nullpublic int getLanguageId()