public class Locale extends APIBean
| Constructor and Description |
|---|
Locale()
Default constructor
|
Locale(java.lang.String language,
java.lang.String country)
Constructor used by the implementation
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCountry()
Returns the country code
|
java.lang.String |
getLanguage()
Returns the language code
|
void |
setCountry(java.lang.String country)
Set the country code
|
void |
setLanguage(java.lang.String language)
Set the language code
|
public Locale()
public Locale(java.lang.String language,
java.lang.String country)
country - Country of the Localelanguage - Language of the Localepublic java.lang.String getCountry()
public void setCountry(java.lang.String country)
country - codepublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - code