java.lang.Object
com.maxmind.geoip2.record.AbstractRecord
- Direct Known Subclasses:
AbstractNamedRecord
,Location
,MaxMind
,Postal
,Traits
Abstract class for GeoIP2.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AbstractRecord
public AbstractRecord()
-
-
Method Details
-
toJson
- Returns:
- JSON representation of this object. The structure is the same as the JSON provided by the GeoIP2 web service.
- Throws:
IOException
- if there is an error serializing the object to JSON.
-
toString
-