public final class LocationJSONImpl extends JSONResponseImpl implements Location
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
LocationJSONImpl(JSONObject location) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getAccessLevel() |
java.lang.String |
getCountryCode() |
java.lang.String |
getCountryName() |
java.lang.String |
getName() |
int |
getPlaceCode() |
java.lang.String |
getPlaceName() |
RateLimitStatus |
getRateLimitStatus()
Returns the current rate limit status if available.
|
java.lang.String |
getURL() |
int |
getWoeid() |
int |
hashCode() |
java.lang.String |
toString() |
getJSONObject, getRawJSONpublic LocationJSONImpl(JSONObject location) throws TwitterException
TwitterExceptionpublic java.lang.String getCountryName()
getCountryName in interface Locationpublic java.lang.String getCountryCode()
getCountryCode in interface Locationpublic java.lang.String getPlaceName()
getPlaceName in interface Locationpublic int getPlaceCode()
getPlaceCode in interface Locationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic RateLimitStatus getRateLimitStatus()
getRateLimitStatus in interface TwitterResponsepublic int getAccessLevel()
getAccessLevel in interface TwitterResponse