Package org.goplanit.utils.locale
Class LocaleUtils
- java.lang.Object
-
- org.goplanit.utils.locale.LocaleUtils
-
public class LocaleUtils extends Object
Utilities for locale- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,String>
countries2ISO
store mapping from full name to iso2 code
-
Constructor Summary
Constructors Constructor Description LocaleUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getCountryNameCodeByIso2Code(String iso2Code)
Collect full name of country based on ISO2 codestatic String
getIso2CountryCodeByName(String countryName)
Collect ISO2 code based on full name
-