Class CountryNameFetcher

java.lang.Object
com.markvarga21.studentmanager.util.CountryNameFetcher

@Component @Generated public class CountryNameFetcher extends Object
A util class for converting a country code to the actual name of the country.
  • Constructor Details

    • CountryNameFetcher

      public CountryNameFetcher()
  • Method Details

    • getCountryNameForCode

      public String getCountryNameForCode(String countryCode)
      Retrieves the official name of the country for the given country code.
      Parameters:
      countryCode - The country code.
      Returns:
      The official name of the country.