public interface GeoIp2Provider
| Modifier and Type | Method and Description |
|---|---|
CityResponse |
city(InetAddress ipAddress) |
CountryResponse |
country(InetAddress ipAddress) |
CountryResponse country(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorCityResponse city(InetAddress ipAddress) throws IOException, GeoIp2Exception
ipAddress - IPv4 or IPv6 address to lookup.GeoIp2Exception - if there is an error looking up the IPIOException - if there is an IO errorCopyright © 2016 MaxMind, Inc.. All Rights Reserved.