|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Status
A data interface representing one single status of a user.
| Method Summary | |
|---|---|
Annotations |
getAnnotations()
Returns the annotations, or null if no annotations are associated with this status. |
java.lang.String[] |
getContributors()
Returns an array of contributors, or null if no contributor is associated with this status. |
java.util.Date |
getCreatedAt()
Return the created_at |
GeoLocation |
getGeoLocation()
Returns The location that this tweet refers to if available. |
HashtagEntity[] |
getHashtagEntities()
Returns an array if hashtag mentioned in the tweet, or null if no hashtag were mentioned. |
java.lang.String[] |
getHashtags()
Deprecated. use getHashtagEntities() instead. |
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 |
Place |
getPlace()
Returns the place attached to this status |
long |
getRetweetCount()
Returns the number of times this tweet has been retweeted, or -1 when the tweet was created before this feature was enabled. |
Status |
getRetweetedStatus()
|
java.lang.String |
getSource()
Returns the source |
java.lang.String |
getText()
Returns the text of the status |
URLEntity[] |
getURLEntities()
Returns an array if URLEntity mentioned in the tweet, or null if no URLs were mentioned. |
java.net.URL[] |
getURLs()
Deprecated. use getURLEntities() instead. |
User |
getUser()
Return the user associated with the status. This can be null if the instance if from User.getStatus(). |
UserMentionEntity[] |
getUserMentionEntities()
Returns an array of user mentions in the tweet, or null if no users were mentioned. |
User[] |
getUserMentions()
Deprecated. use getUserMentionEntities() instead. |
boolean |
isFavorited()
Test if the status is favorited |
boolean |
isRetweet()
|
boolean |
isRetweetedByMe()
Returns true if the authenticating user has retweeted this tweet, or false when the tweet was created before this feature was enabled. |
boolean |
isTruncated()
Test if the status is truncated |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface twitter4j.TwitterResponse |
|---|
getRateLimitStatus |
| Method Detail |
|---|
java.util.Date getCreatedAt()
long getId()
java.lang.String getText()
java.lang.String getSource()
boolean isTruncated()
long getInReplyToStatusId()
int getInReplyToUserId()
java.lang.String getInReplyToScreenName()
GeoLocation getGeoLocation()
Place getPlace()
boolean isFavorited()
User getUser()
boolean isRetweet()
Status getRetweetedStatus()
java.lang.String[] getContributors()
long getRetweetCount()
boolean isRetweetedByMe()
User[] getUserMentions()
getUserMentionEntities() instead.
UserMentionEntity[] getUserMentionEntities()
java.net.URL[] getURLs()
getURLEntities() instead.
URLEntity[] getURLEntities()
java.lang.String[] getHashtags()
getHashtagEntities() instead.
HashtagEntity[] getHashtagEntities()
Annotations getAnnotations()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||