public class Location extends Object
| Constructor and Description |
|---|
Location() |
Location(String city,
String region,
String country) |
| Modifier and Type | Method and Description |
|---|---|
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() |
Copyright © 2016. All rights reserved.