org.jutil.locale
Class CountryCodeConvertor

java.lang.Object
  extended by org.jutil.locale.CountryCodeConvertor

public final class CountryCodeConvertor
extends java.lang.Object

This is the ISO3166 utility code class for converting between country codes and country names. ISO 3166 Maintenance Agency (ISO 3166/MA) todo: need to add Alph 3 codes


Field Summary
static java.lang.String[][] DATA
          org.jutil.locale.CountryCodeConvertor.DATA
 
Method Summary
static java.lang.String codeToCountry(java.lang.String code)
          useage: org.jutil.locale.CountryCodeConvertor.codeToCountry(String code);
static java.lang.String countryToCode(java.lang.String country)
          useage: org.jutil.locale.CountryCodeConvertor.countryToCode(String country);
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATA

public static final java.lang.String[][] DATA
org.jutil.locale.CountryCodeConvertor.DATA

Method Detail

codeToCountry

public static final java.lang.String codeToCountry(java.lang.String code)
useage: org.jutil.locale.CountryCodeConvertor.codeToCountry(String code);


countryToCode

public static final java.lang.String countryToCode(java.lang.String country)
useage: org.jutil.locale.CountryCodeConvertor.countryToCode(String country);