Class GeoLite2Geolocator
java.lang.Object
com.djrapitops.plan.gathering.geolocation.GeoLite2Geolocator
- All Implemented Interfaces:
Geolocator
Geolocator implementation for MaxMind GeoLite2 database.
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCountry(InetAddress inetAddress) voidprepare()Do everything that is needed for the geolocator to function.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.gathering.geolocation.Geolocator
getCountry
-
Constructor Details
-
GeoLite2Geolocator
-
-
Method Details
-
prepare
Description copied from interface:GeolocatorDo everything that is needed for the geolocator to function.- Specified by:
preparein interfaceGeolocator- Throws:
IOException- If the preparation fails
-
getCountry
- Specified by:
getCountryin interfaceGeolocator
-