|
|||||||||
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 static long |
serialVersionUID
|
private java.lang.String |
source
|
private java.lang.String |
text
|
private User |
user
|
Constructor Summary | |
---|---|
Status(Response res,
org.w3c.dom.Element elem,
Twitter twitter)
|
|
Status(Response res,
Twitter twitter)
|
|
Status(java.lang.String str)
|
Method Summary | |
---|---|
(package private) static java.util.List<Status> |
constructStatuses(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 |
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(Response res,
org.w3c.dom.Element elem,
Twitter twitter)
|
boolean |
isFavorited()
Test if the status is favorited |
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 static final long serialVersionUID
private User user
Constructor Detail |
---|
Status(Response res, Twitter twitter) throws TwitterException
TwitterException
Status(Response res, org.w3c.dom.Element elem, Twitter twitter) throws TwitterException
TwitterException
public Status(java.lang.String str) throws TwitterException
TwitterException
Method Detail |
---|
private void init(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 boolean isFavorited()
public User getUser()
static java.util.List<Status> constructStatuses(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 |