com.pkrete.jsip2.variables
Enum Language
java.lang.Object
java.lang.Enum<Language>
com.pkrete.jsip2.variables.Language
- All Implemented Interfaces:
- Serializable, Comparable<Language>
public enum Language
- extends Enum<Language>
This enum defines a set of languages that can be used in SIP2
request and response messages. Each language has a code that is
used in the communication between the system and the ILS.
- Author:
- Petteri Kivimäki
|
Method Summary |
String |
toString()
|
static Language |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Language[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UNKNOWN
public static final Language UNKNOWN
ENGLISH
public static final Language ENGLISH
FRENCH
public static final Language FRENCH
GERMAN
public static final Language GERMAN
ITALIAN
public static final Language ITALIAN
DUTCH
public static final Language DUTCH
SWEDISH
public static final Language SWEDISH
FINNISH
public static final Language FINNISH
SPANISH
public static final Language SPANISH
DANISH
public static final Language DANISH
PORTUGESE
public static final Language PORTUGESE
CANADIAN_FRENCH
public static final Language CANADIAN_FRENCH
NORWEGIAN
public static final Language NORWEGIAN
HEBREW
public static final Language HEBREW
JAPANESE
public static final Language JAPANESE
RUSSIAN
public static final Language RUSSIAN
ARABIC
public static final Language ARABIC
POLISH
public static final Language POLISH
GREEK
public static final Language GREEK
CHINESE
public static final Language CHINESE
KOREAN
public static final Language KOREAN
NORTH_AMERICAN_SPANISH
public static final Language NORTH_AMERICAN_SPANISH
TAMIL
public static final Language TAMIL
MALAY
public static final Language MALAY
UNITED_KINGDOM
public static final Language UNITED_KINGDOM
ICELANDIC
public static final Language ICELANDIC
BELGIAN
public static final Language BELGIAN
TAIWANESE
public static final Language TAIWANESE
values
public static Language[] 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 (Language c : Language.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Language valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
toString
public String toString()
- Overrides:
toString in class Enum<Language>
Copyright © 2012-2014. All Rights Reserved.