Class Country

java.lang.Object
com.smartfoxserver.util.Country

public class Country extends Object
Provides country name and iso code for geolocation.
  • Constructor Details

    • Country

      public Country(com.maxmind.geoip2.record.Country ctry)
  • Method Details

    • getName

      public String getName()
      Name of the country
      Returns:
      the name of the country
    • getIsoCode

      public String getIsoCode()
      The ISO code of the country (e.g. US, IT, DE, FR etc...)
      Returns:
      the ISO code of the country