Class RepresentedCountry


public final class RepresentedCountry extends Country

Contains data for the represented country associated with an IP address.

This class contains the country-level data associated with an IP address for the IP's represented country. The represented country is the country represented by something like a military base.

Do not use any of the country names as a database or map key. Use the value returned by AbstractNamedRecord.getGeoNameId() or Country.getIsoCode() instead.

  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Returns:
      A string indicating the type of entity that is representing the country. Currently, we only return military but this could expand to include other types in the future.