Class DatabaseInfo

java.lang.Object
com.maxmind.geoip.DatabaseInfo

public class DatabaseInfo
extends Object
Encapsulates metadata about the GeoIP database. The database has a date, is a premium or standard version, and is one of the following types:
  • Country edition -- this is the most common version of the database. It includes the name of the country and it's ISO country code given an IP address.
  • Region edition -- includes the country information as well as what U.S. state or Canadian province the IP address is from if the IP address is from the U.S. or Canada.
  • City edition -- includes country, region, city, postal code, latitude, and longitude information.
  • Org edition -- includes netblock owner.
  • ISP edition -- ISP information.
Author:
Matt Tucker
See Also:
LookupService.getDatabaseInfo()