|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.common.util.Countries
public final class Countries
A utility class that converts ISO-3166 codes or locales to their "friendly" country name.
The GNU Lesser General Public License for details.| Field Summary | |
|---|---|
static String |
DEFAULT_COUNTRY_CODE
|
private static String |
UNKNOWN_COUNTRY_CODE
|
| Constructor Summary | |
|---|---|
private |
Countries()
Make the class a true utility class by having a private constructor. |
| Method Summary | |
|---|---|
static String |
getCountry(String iso3166Code)
Get the country name from the country code. |
private static ResourceBundle |
getLocalisedCountries()
Gets the localised countries. |
static boolean |
isValidCountry(String iso3166Code)
Determine whether the country code is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_COUNTRY_CODE
private static final String UNKNOWN_COUNTRY_CODE
| Constructor Detail |
|---|
private Countries()
| Method Detail |
|---|
public static boolean isValidCountry(String iso3166Code)
iso3166Code - the country code
public static String getCountry(String iso3166Code)
iso3166Code - the country code
private static ResourceBundle getLocalisedCountries()
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||