public class LocalCountryCodeConverter extends Object implements CountryCodeConverter
Constructor and Description |
---|
LocalCountryCodeConverter() |
Modifier and Type | Method and Description |
---|---|
List<String> |
convertFipsToIso3(String fipsCountryCode)
Converts FIPS 10-4 into ISO 3166-1 alpha 3.
|
List<String> |
convertIso3ToFips(String iso3alphaCountryCode)
Converts ISO 3166-1 alpha 3 into FIPS 10-4.
|
void |
setCountryCodeMappingsFile(String countryCodeMappingFile) |
public List<String> convertFipsToIso3(@Nullable String fipsCountryCode)
CountryCodeConverter
convertFipsToIso3
in interface CountryCodeConverter
fipsCountryCode
- a FIPS 10-4 country codepublic List<String> convertIso3ToFips(@Nullable String iso3alphaCountryCode)
CountryCodeConverter
convertIso3ToFips
in interface CountryCodeConverter
iso3alphaCountryCode
- an ISO 3166 alpha 3 country codepublic void setCountryCodeMappingsFile(String countryCodeMappingFile)
This work is licensed under a Creative Commons Attribution 4.0 International License.