|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwitter4j.TwitterResponse
twitter4j.Status
public class Status
A data class representing one single status of a user.
Field Summary | |
---|---|
private java.util.Date |
createdAt
|
private long |
id
|
private java.lang.String |
inReplyToScreenName
|
private long |
inReplyToStatusId
|
private int |
inReplyToUserId
|
private boolean |
isFavorited
|
private boolean |
isTruncated
|
private double |
latitude
|
private double |
longitude
|
private RetweetDetails |
retweetDetails
|
private static long |
serialVersionUID
|
private java.lang.String |
source
|
private java.lang.String |
text
|
private User |
user
|
Constructor Summary | |
---|---|
Status(twitter4j.http.Response res,
org.w3c.dom.Element elem,
Twitter twitter)
|
|
Status(twitter4j.http.Response res,
Twitter twitter)
|
|
Status(java.lang.String str)
|
Method Summary | |
---|---|
(package private) static java.util.List<Status> |
constructStatuses(twitter4j.http.Response res,
Twitter twitter)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getCreatedAt()
Return the created_at |
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 |
double |
getLatitude()
returns The location's latitude that this tweet refers to. |
double |
getLongitude()
returns The location's longitude that this tweet refers to. |
RetweetDetails |
getRetweetDetails()
|
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.http.Response res,
org.w3c.dom.Element elem,
Twitter twitter)
|
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.TwitterResponse |
---|
ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getBoolean, getChildBoolean, getChildDate, getChildDate, getChildInt, getChildLong, getChildText, getInt, getLong, getRateLimitLimit, getRateLimitRemaining, getRateLimitReset, getString, getTextContent, isRootNodeNilClasses, parseDate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 double latitude
private double longitude
private RetweetDetails retweetDetails
private static final long serialVersionUID
private User user
Constructor Detail |
---|
Status(twitter4j.http.Response res, Twitter twitter) throws TwitterException
TwitterException
Status(twitter4j.http.Response res, org.w3c.dom.Element elem, Twitter twitter) throws TwitterException
TwitterException
public Status(java.lang.String str) throws TwitterException, twitter4j.org.json.JSONException
TwitterException
twitter4j.org.json.JSONException
Method Detail |
---|
private void init(twitter4j.http.Response res, org.w3c.dom.Element elem, Twitter twitter) throws TwitterException
TwitterException
public java.util.Date getCreatedAt()
public long getId()
public java.lang.String getText()
public java.lang.String getSource()
public boolean isTruncated()
public long getInReplyToStatusId()
public int getInReplyToUserId()
public java.lang.String getInReplyToScreenName()
public double getLatitude()
public double getLongitude()
public boolean isFavorited()
public User getUser()
public boolean isRetweet()
public RetweetDetails getRetweetDetails()
static java.util.List<Status> constructStatuses(twitter4j.http.Response res, Twitter twitter) throws TwitterException
TwitterException
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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 |