Package co.mastermindcms.modules.util
Class CountryUtil
- java.lang.Object
-
- co.mastermindcms.modules.util.CountryUtil
-
public class CountryUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CountryUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<Country>
getAllCountries(java.util.Locale locale)
static Country
getCountry(java.lang.String code, java.util.Locale locale)
static java.util.List<Country>
searchCountries(java.lang.String name, java.util.Locale locale)
-
-
-
Method Detail
-
searchCountries
public static java.util.List<Country> searchCountries(java.lang.String name, java.util.Locale locale)
-
getAllCountries
public static java.util.List<Country> getAllCountries(java.util.Locale locale)
-
getCountry
public static Country getCountry(java.lang.String code, java.util.Locale locale)
-
-