|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttwitter4j.TwitterResponseImpl
twitter4j.StatusJSONImpl
final class StatusJSONImpl
A data class representing one single status of a user.
| Field Summary | |
|---|---|
private java.util.Date |
createdAt
|
private GeoLocation |
geoLocation
|
private long |
id
|
private java.lang.String |
inReplyToScreenName
|
private long |
inReplyToStatusId
|
private int |
inReplyToUserId
|
private boolean |
isFavorited
|
private boolean |
isTruncated
|
private Status |
retweetedStatus
|
private static long |
serialVersionUID
|
private java.lang.String |
source
|
private java.lang.String |
text
|
private User |
user
|
| Constructor Summary | |
|---|---|
StatusJSONImpl(HttpResponse res)
|
|
StatusJSONImpl(twitter4j.org.json.JSONObject json)
|
|
| Method Summary | |
|---|---|
(package private) static ResponseList<Status> |
createStatusList(HttpResponse res)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getCreatedAt()
Return the created_at |
GeoLocation |
getGeoLocation()
Returns The location that this tweet refers to if available. |
long |
getId()
Returns the id of the status |
java.lang.String |
getInReplyToScreenName()
Returns the in_reply_to_screen_name |
long |
getInReplyToStatusId()
Returns the in_reply_tostatus_id |
int |
getInReplyToUserId()
Returns the in_reply_user_id |
Status |
getRetweetedStatus()
|
java.lang.String |
getSource()
Returns the source |
java.lang.String |
getText()
Returns the text of the status |
User |
getUser()
Return the user |
int |
hashCode()
|
private void |
init(twitter4j.org.json.JSONObject json)
|
boolean |
isFavorited()
Test if the status is favorited |
boolean |
isRetweet()
|
boolean |
isTruncated()
Test if the status is truncated |
java.lang.String |
toString()
|
| Methods inherited from class twitter4j.TwitterResponseImpl |
|---|
getRateLimitStatus, setRateLimitStatus |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface twitter4j.TwitterResponse |
|---|
getRateLimitStatus |
| Field Detail |
|---|
private java.util.Date createdAt
private long id
private java.lang.String text
private java.lang.String source
private boolean isTruncated
private long inReplyToStatusId
private int inReplyToUserId
private boolean isFavorited
private java.lang.String inReplyToScreenName
private GeoLocation geoLocation
private Status retweetedStatus
private static final long serialVersionUID
private User user
| Constructor Detail |
|---|
StatusJSONImpl(HttpResponse res)
throws TwitterException
TwitterException
StatusJSONImpl(twitter4j.org.json.JSONObject json)
throws TwitterException,
twitter4j.org.json.JSONException
TwitterException
twitter4j.org.json.JSONException| Method Detail |
|---|
private void init(twitter4j.org.json.JSONObject json)
throws TwitterException
TwitterExceptionpublic java.util.Date getCreatedAt()
getCreatedAt in interface Statuspublic long getId()
getId in interface Statuspublic java.lang.String getText()
getText in interface Statuspublic java.lang.String getSource()
getSource in interface Statuspublic boolean isTruncated()
isTruncated in interface Statuspublic long getInReplyToStatusId()
getInReplyToStatusId in interface Statuspublic int getInReplyToUserId()
getInReplyToUserId in interface Statuspublic java.lang.String getInReplyToScreenName()
getInReplyToScreenName in interface Statuspublic GeoLocation getGeoLocation()
getGeoLocation in interface Statuspublic boolean isFavorited()
isFavorited in interface Statuspublic User getUser()
getUser in interface Statuspublic boolean isRetweet()
isRetweet in interface Statuspublic Status getRetweetedStatus()
getRetweetedStatus in interface Status
static ResponseList<Status> createStatusList(HttpResponse res)
throws TwitterException
TwitterExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||