Class Country

    • Method Detail

      • getNames

        public Map<Locale,​String> getNames()
        Returns an unmodifiable map of this country names, grouped by locale.
        Returns:
        an unmodifiable map of this country names, grouped by locale.
        Since:
        10.2.0
      • getName

        public Optional<String> getName​(Locale... locales)
        Returns an optional name of this country that is in some of the given locales. The lookup order is the given locales order.
        Parameters:
        locales - the locales.
        Returns:
        an optional name of this country that is in some of the given locales.
        Since:
        10.2.0
      • getISOCode

        public Optional<String> getISOCode()
        Returns an optional ISO code that represents this country.
        Returns:
        an optional ISO code that represents this country.
        Since:
        10.2.0