|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.switchboard.HostInfoResult
public class HostInfoResult
| Constructor Summary | |
|---|---|
HostInfoResult(String country,
String city,
float latitude,
float longitude,
URL flag)
|
|
| Method Summary | |
|---|---|
String |
getCity()
Gets the city where the host is located, according to hostinfo.info |
String |
getCountry()
Gets the country where the host is located, according to hostinfo.info |
URL |
getFlagURL()
Gets the URL to a flag of the country where the host is located. |
float |
getLatitude()
Gets the latitude of the host, according to hostinfo.info (like 54.226) |
float |
getLongitude()
Gets the longitude of the host, according to hostinfo.info (like -88.4588) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HostInfoResult(String country,
String city,
float latitude,
float longitude,
URL flag)
| Method Detail |
|---|
public String getCity()
public String getCountry()
public URL getFlagURL()
public float getLatitude()
public float getLongitude()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||