Class CountryNameFetcher
java.lang.Object
com.markvarga21.studentmanager.util.CountryNameFetcher
A util class for converting a country code
to the actual name of the country.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCountryNameForCode
(String countryCode) Retrieves the official name of the country for the given country code.
-
Constructor Details
-
CountryNameFetcher
public CountryNameFetcher()
-
-
Method Details
-
getCountryNameForCode
Retrieves the official name of the country for the given country code.- Parameters:
countryCode
- The country code.- Returns:
- The official name of the country.
-