Package com.tietoenator.trip.jxp
Enum TdbLanguage
- java.lang.Object
-
- java.lang.Enum<TdbLanguage>
-
- com.tietoenator.trip.jxp.TdbLanguage
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TdbLanguage>
public enum TdbLanguage extends java.lang.Enum<TdbLanguage>
Enumeration of available TRIP CCL dialects
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Chinese
Reads dialect from CHINESE.CCLDefaultLanguage
Default, unmodified dialect, doesn't read a CCL definition fileEnglish
Reads dialect from ENGLISH.CCLFinnish
Reads dialect from FINNISH.CCLFrench
Reads dialect from FRENCH.CCLGerman
Reads dialect from GERMAN.CCLJapanese
Reads dialect from JAPANESE.CCLNorwegian
Reads dialect from NORWEGIAN.CCLSwedish
Reads dialect from SWEDISH.CCL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLanguageId()
Retrieve the ID that corresponds to the language codestatic 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.
-
-
-
Enum Constant Detail
-
DefaultLanguage
public static final TdbLanguage DefaultLanguage
Default, unmodified dialect, doesn't read a CCL definition file
-
English
public static final TdbLanguage English
Reads dialect from ENGLISH.CCL
-
Swedish
public static final TdbLanguage Swedish
Reads dialect from SWEDISH.CCL
-
Chinese
public static final TdbLanguage Chinese
Reads dialect from CHINESE.CCL
-
German
public static final TdbLanguage German
Reads dialect from GERMAN.CCL
-
French
public static final TdbLanguage French
Reads dialect from FRENCH.CCL
-
Finnish
public static final TdbLanguage Finnish
Reads dialect from FINNISH.CCL
-
Norwegian
public static final TdbLanguage Norwegian
Reads dialect from NORWEGIAN.CCL
-
Japanese
public static final TdbLanguage Japanese
Reads dialect from JAPANESE.CCL
-
-
Method Detail
-
values
public static TdbLanguage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TdbLanguage c : TdbLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TdbLanguage valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getLanguageId
public int getLanguageId()
Retrieve the ID that corresponds to the language code- Returns:
- An ID suitable for use with the <SESSION_REQ> protocol
-
-