|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.tags.google.beans.Ip2GeoCoder
public class Ip2GeoCoder
Ip2GeoCoder
| Constructor Summary | |
|---|---|
Ip2GeoCoder()
|
|
| Method Summary | |
|---|---|
boolean |
geocode()
Attempts to geocode the current IP address. |
double |
getLatitude()
Returns the latitude (in decimal form) of the IP as a double. |
double |
getLongitude()
Returns the longitude (in decimal form) of the IP as a double. |
void |
setIp(java.lang.String ip)
Sets the ip address to geocode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ip2GeoCoder()
| Method Detail |
|---|
public void setIp(java.lang.String ip)
IPCoder
setIp in interface IPCoderip - The IPv4 or IPv6 address to geocode.public boolean geocode()
IPCoder
geocode in interface IPCoderpublic double getLongitude()
IPCoder
getLongitude in interface IPCoderpublic double getLatitude()
IPCoder
getLatitude in interface IPCoder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||