public final class GeoIp2Country
extends com.maxmind.geoip2.record.Country
Constructor and Description |
---|
GeoIp2Country() |
GeoIp2Country(List<String> locales,
Integer confidence,
Integer geoNameId,
boolean isHighRisk,
boolean isInEuropeanUnion,
String isoCode,
Map<String,String> names) |
GeoIp2Country(List<String> locales,
Integer confidence,
Integer geoNameId,
boolean isHighRisk,
String isoCode,
Map<String,String> names)
Deprecated.
This constructor only exists for backward compatibility
and will be removed in the next major release.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isHighRisk()
Deprecated.
Deprecated effective August 29, 2019.
|
getConfidence, getIsoCode, isInEuropeanUnion
public GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, String isoCode, Map<String,String> names)
locales
- The locales.confidence
- The confidence.geoNameId
- The GeoName ID.isHighRisk
- Whether it is a high risk country.isoCode
- The ISO code.names
- The names.public GeoIp2Country(List<String> locales, Integer confidence, Integer geoNameId, boolean isHighRisk, boolean isInEuropeanUnion, String isoCode, Map<String,String> names)
public GeoIp2Country()
@Deprecated public boolean isHighRisk()
Copyright © 2021 MaxMind, Inc.. All rights reserved.