|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.impl.GeoIpCountryServiceImpl.IpLocationImpl
public class GeoIpCountryServiceImpl.IpLocationImpl
The Class IpLocationImpl.
Field Summary | |
---|---|
String |
city
The city. |
String |
countryCode
The country code. |
String |
countryName
The country name. |
float |
latitude
The latitude. |
float |
longitude
The longitude. |
String |
postalCode
The postal code. |
String |
region
The region. |
Constructor Summary | |
---|---|
GeoIpCountryServiceImpl.IpLocationImpl(com.maxmind.geoip.Location location)
Instantiates a new ip location impl. |
|
GeoIpCountryServiceImpl.IpLocationImpl(String countryCode,
String countryName,
String region,
String city,
String postalCode,
float latitude,
float longitude)
Instantiates a new ip location impl. |
Method Summary | |
---|---|
String |
getCity()
Gets the city. |
String |
getCountryCode()
Gets the country code. |
String |
getCountryName()
Gets the country name. |
float |
getLatitude()
Gets the latitude. |
float |
getLongitude()
Gets the longitude. |
String |
getPostalCode()
Gets the postal code. |
String |
getRegion()
Gets the region. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String countryCode
public String countryName
public String region
public String city
public String postalCode
public float latitude
public float longitude
Constructor Detail |
---|
public GeoIpCountryServiceImpl.IpLocationImpl(com.maxmind.geoip.Location location)
location
- the locationpublic GeoIpCountryServiceImpl.IpLocationImpl(String countryCode, String countryName, String region, String city, String postalCode, float latitude, float longitude)
countryCode
- the country codecountryName
- the country nameregion
- the regioncity
- the citypostalCode
- the postal codelatitude
- the latitudelongitude
- the longitudeMethod Detail |
---|
public String getCity()
GeoIpCountryService.IpLocation
getCity
in interface GeoIpCountryService.IpLocation
public String getCountryCode()
GeoIpCountryService.IpLocation
getCountryCode
in interface GeoIpCountryService.IpLocation
public String getCountryName()
GeoIpCountryService.IpLocation
getCountryName
in interface GeoIpCountryService.IpLocation
public float getLatitude()
GeoIpCountryService.IpLocation
getLatitude
in interface GeoIpCountryService.IpLocation
public float getLongitude()
GeoIpCountryService.IpLocation
getLongitude
in interface GeoIpCountryService.IpLocation
public String getPostalCode()
GeoIpCountryService.IpLocation
getPostalCode
in interface GeoIpCountryService.IpLocation
public String getRegion()
GeoIpCountryService.IpLocation
getRegion
in interface GeoIpCountryService.IpLocation
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |