Package com.smartfoxserver.util
Class Country
java.lang.Object
com.smartfoxserver.util.Country
Provides country name and iso code for geolocation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe ISO code of the country (e.g.getName()Name of the country
-
Constructor Details
-
Country
public Country(com.maxmind.geoip2.record.Country ctry)
-
-
Method Details
-
getName
Name of the country- Returns:
- the name of the country
-
getIsoCode
The ISO code of the country (e.g. US, IT, DE, FR etc...)- Returns:
- the ISO code of the country
-