Class Country

java.lang.Object
com.maxmind.geoip.Country

public class Country extends Object
Represents a country.
Author:
Matt Tucker
  • Constructor Details

    • Country

      public Country(String code, String name)
      Creates a new Country.
      Parameters:
      code - the country code.
      name - the country name.
  • Method Details

    • getCode

      public String getCode()
      Returns the ISO two-letter country code of this country.
      Returns:
      the country code.
    • getName

      public String getName()
      Returns the name of this country.
      Returns:
      the country name.