com.maxmind.geoip

## Class Country

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

-     public class Country
      extends Object

  Represents a country.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Country(String code, String name)` Creates a new Country.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getCode()` Returns the ISO two-letter country code of this country.
    `String` | `getName()` Returns the name of this country.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Country

          public Country(String code,
                         String name)

      Creates a new Country.
      Parameters:
        `code` - the country code.
        `name` - the country name.

  - ### Method Detail

    - #### 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.