|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwitter4j.TwitterResponse
twitter4j.Tweet
public class Tweet
A data class representing a Tweet in the search response
Field Summary | |
---|---|
private java.util.Date |
createdAt
|
private java.lang.String |
fromUser
|
private int |
fromUserId
|
private long |
id
|
private java.lang.String |
isoLanguageCode
|
private java.lang.String |
profileImageUrl
|
private static long |
serialVersionUID
|
private java.lang.String |
source
|
private java.lang.String |
text
|
private java.lang.String |
toUser
|
private int |
toUserId
|
Constructor Summary | |
---|---|
Tweet(twitter4j.org.json.JSONObject tweet,
TwitterSupport twitterSupport)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.util.Date |
getCreatedAt()
returns the created_at |
java.lang.String |
getFromUser()
returns the from_user |
int |
getFromUserId()
returns the user id of the tweet's owner. Warning: The user ids in the Search API are different from those in the REST API (about the two APIs). |
long |
getId()
returns the status id of the tweet |
java.lang.String |
getIsoLanguageCode()
returns the iso language code of the tweet |
java.lang.String |
getProfileImageUrl()
returns the profile_image_url |
java.lang.String |
getSource()
returns the source of the tweet |
java.lang.String |
getText()
returns the text |
java.lang.String |
getToUser()
returns the to_user |
int |
getToUserId()
returns the to_user_id |
int |
hashCode()
|
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.lang.String text
private int toUserId
private java.lang.String toUser
private java.lang.String fromUser
private long id
private int fromUserId
private java.lang.String isoLanguageCode
private java.lang.String source
private java.lang.String profileImageUrl
private java.util.Date createdAt
private static final long serialVersionUID
Constructor Detail |
---|
Tweet(twitter4j.org.json.JSONObject tweet, TwitterSupport twitterSupport) throws TwitterException
TwitterException
Method Detail |
---|
public java.lang.String getText()
public int getToUserId()
public java.lang.String getToUser()
public java.lang.String getFromUser()
public long getId()
public int getFromUserId()
public java.lang.String getIsoLanguageCode()
public java.lang.String getSource()
public java.lang.String getProfileImageUrl()
public java.util.Date getCreatedAt()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
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 |