Class 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CountryUtil

        public CountryUtil()
    • 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)