public class LocationUtils extends Object
| Constructor and Description |
|---|
LocationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getGeohashFromIpAddress(com.maxmind.geoip.LookupService lookupService,
String ipAddress)
Gets the geohash from the given ip address or return an empty String if nothing is found.
|
static GeoHashPoint |
getGeoHashPoint(com.maxmind.geoip.LookupService lookupService,
String ipAddress)
Gets the
GeoHashPoint object from the given ip address or return null if nothing is found. |
public static String getGeohashFromIpAddress(com.maxmind.geoip.LookupService lookupService, String ipAddress)
lookupService - the lookup serviceipAddress - the ip addresspublic static GeoHashPoint getGeoHashPoint(com.maxmind.geoip.LookupService lookupService, String ipAddress)
GeoHashPoint object from the given ip address or return null if nothing is found.lookupService - the lookup serviceipAddress - the ip addressGeoHashPoint object from the given ip address or return null if nothing is found.Copyright © 2010–2015. All rights reserved.