public class LocaleType extends Object implements Cloneable
language
, country
and variant
property.Constructor and Description |
---|
LocaleType()
Creates a new
LocaleType instance. |
Modifier and Type | Method and Description |
---|---|
LocaleType |
clone()
Creates and returns a copy of this object.
|
String |
getCountry()
Gets the value of the
country property. |
String |
getLanguage()
Gets the value of the
language property. |
String |
getVariant()
Gets the value of the
variant property. |
void |
setCountry(String value)
Sets the value of the
country property. |
void |
setLanguage(String value)
Sets the value of the
language property. |
void |
setVariant(String value)
Sets the value of the
variant property. |
String |
toString()
Creates and returns a string representation of the object.
|
public LocaleType()
LocaleType
instance.public final String getLanguage()
language
property.language
property.setLanguage(java.lang.String)
public final void setLanguage(String value)
language
property.value
- The new value of the language
property or null
.getLanguage()
public final String getCountry()
country
property.country
property.setCountry(java.lang.String)
public final void setCountry(String value)
country
property.value
- The new value of the country
property or null
.getCountry()
public final String getVariant()
variant
property.variant
property.setVariant(java.lang.String)
public final void setVariant(String value)
variant
property.value
- The new value of the variant
property or null
.getVariant()
public LocaleType clone()
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.