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