public class Language extends Object
Language class which holds the name and the language code.
| Modifier and Type | Method and Description | 
|---|---|
static Language | 
createWithCode(String code)
Create a language instance by code. 
 | 
static Language | 
createWithCodeAndName(String code,
                     String name)
Create a language instance by code and name. 
 | 
boolean | 
equals(Object other)  | 
String | 
getCode()  | 
String | 
getName()  | 
int | 
hashCode()  | 
String | 
toString()  | 
public static Language createWithCodeAndName(String code, String name)
Create a language instance by code and name.
code - the two letter language code defined in ISO 639name - the name of the languagepublic static Language createWithCode(String code)
Create a language instance by code. The name is retrieved by the corresponding Locale of the specified code.
code - the two letter language code defined in ISO 639public String getCode()
public String getName()
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.