public class RestLanguage extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
countryCode |
protected String |
ietfCode |
protected String |
iso2Code |
protected String |
iso3Code |
protected String |
name |
protected String |
pluralExpression |
protected Boolean |
primaryOfGroup |
| Constructor and Description |
|---|
RestLanguage() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getCountryCode()
The two-letter code of the language's region (ISO 3166-1 alpha-2 format).
|
String |
getIetfCode()
The language's IETF tag consisting of the two-letter ISO code and region e.g.
|
String |
getIso2Code()
The language's two-letter code (ISO 639-1 format).
|
String |
getIso3Code()
The language's three-letter code (ISO 639-2/T format).
|
String |
getName()
The name of the language.
|
String |
getPluralExpression()
The expression to determine the plural index for a given number of items used to find the proper plural form for translations.
|
int |
hashCode() |
Boolean |
isPrimaryOfGroup()
Whether this is the primary language in a group of languages.
|
String |
toString() |
protected String countryCode
protected String ietfCode
protected String iso2Code
protected String iso3Code
protected String name
protected String pluralExpression
protected Boolean primaryOfGroup
public String getCountryCode()
public String getIetfCode()
public String getIso2Code()
public String getIso3Code()
public String getName()
public String getPluralExpression()
public Boolean isPrimaryOfGroup()
Copyright © 2024. All rights reserved.