public class ISOCountry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ISOCountry.Country
List of valid Iso Country, shows 2 letter abbreviation and country human readable name
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,ISOCountry.Country> |
codeMap |
private static java.util.Map<java.lang.String,ISOCountry.Country> |
descriptionMap |
Constructor and Description |
---|
ISOCountry() |
Modifier and Type | Method and Description |
---|---|
static ISOCountry.Country |
getCountryByCode(java.lang.String code) |
static ISOCountry.Country |
getCountryByDescription(java.lang.String description) |
static java.lang.String[] |
getDescriptionsAsArray() |
private static java.util.Map<java.lang.String,ISOCountry.Country> codeMap
private static java.util.Map<java.lang.String,ISOCountry.Country> descriptionMap
public static ISOCountry.Country getCountryByCode(java.lang.String code)
code
- public static ISOCountry.Country getCountryByDescription(java.lang.String description)
description
- public static java.lang.String[] getDescriptionsAsArray()
Copyright © 2005-2013 java.net. All Rights Reserved.