public class TLcdGDFCountry extends Object
Modifier and Type | Method and Description |
---|---|
static TLcdGDFCountry |
getCountry(int aIndex)
Returns the country at the given index.
|
static TLcdGDFCountry |
getCountry(String aCountryCode)
Returns the country with the given ISO 3166 Country Code.
|
static int |
getCountryCount()
Returns the number of countries that are available.
|
String |
getDescription()
Returns the textual description of this country.
|
String |
getISO3166CountryCode()
Returns the ISO 3166 Country Code of this country.
|
String |
toString()
Returns a general description of this country.
|
public static int getCountryCount()
public static TLcdGDFCountry getCountry(int aIndex)
aIndex
- the index of the country to be returned.IndexOutOfBoundsException
- if aIndex < 0 || aIndex >= getCountryCount()
.public static TLcdGDFCountry getCountry(String aCountryCode)
aCountryCode
- the ISO 3166 Country Code of the country to be returned.IllegalArgumentException
- if no language exists for the given ISO 3166 Country Code.public String getISO3166CountryCode()
public String getDescription()