public class Country extends AbstractNamedRecord
Contains data for the country record associated with an IP address.
This record is returned by all the end points.
Do not use any of the country names as a database or map key. Use the value
returned by AbstractNamedRecord.getGeoNameId() or getIsoCode() instead.
| Constructor and Description |
|---|
Country() |
Country(List<String> locales,
Integer confidence,
Integer geoNameId,
String isoCode,
Map<String,String> names) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getConfidence() |
String |
getIsoCode() |
getGeoNameId, getName, getNamestoJson, toStringpublic Integer getConfidence()
public String getIsoCode()
Copyright © 2016 MaxMind, Inc.. All Rights Reserved.