|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.github.fedy2.weather.data.Location
public class Location
Weather location.
| Constructor Summary | |
|---|---|
Location()
|
|
Location(String city,
String region,
String country)
|
|
| Method Summary | |
|---|---|
String |
getCity()
Returns the city name. |
String |
getCountry()
Returns the two-character country code. |
String |
getRegion()
Returns the state, territory, or region, if given |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Location()
public Location(String city,
String region,
String country)
city - the city name.region - the state, territory, or region.country - the two-character country code.| Method Detail |
|---|
public String getCity()
public String getRegion()
public String getCountry()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||