public final class Language extends Object
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)
code
- the two letter language code defined in ISO 639name
- the name of the languagepublic static Language createWithCode(String code)
Locale
of the specified code.code
- the two letter language code defined in ISO 639public String getCode()
public String getName()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.