|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttwitter4j.TwitterResponseImpl
twitter4j.UserJSONImpl
class UserJSONImpl
A data class representing Basic user information element
| Field Summary | |
|---|---|
private java.util.Date |
createdAt
|
private java.lang.String |
description
|
private int |
favouritesCount
|
private int |
followersCount
|
private int |
friendsCount
|
private int |
id
|
private boolean |
isGeoEnabled
|
private boolean |
isProtected
|
private boolean |
isVerified
|
private java.lang.String |
location
|
private java.lang.String |
name
|
private java.lang.String |
profileBackgroundColor
|
private java.lang.String |
profileBackgroundImageUrl
|
private boolean |
profileBackgroundTiled
|
private java.lang.String |
profileImageUrl
|
private java.lang.String |
profileLinkColor
|
private java.lang.String |
profileSidebarBorderColor
|
private java.lang.String |
profileSidebarFillColor
|
private java.lang.String |
profileTextColor
|
private java.lang.String |
screenName
|
private static long |
serialVersionUID
|
private java.util.Date |
statusCreatedAt
|
private int |
statusesCount
|
private boolean |
statusFavorited
|
private long |
statusId
|
private java.lang.String |
statusInReplyToScreenName
|
private long |
statusInReplyToStatusId
|
private int |
statusInReplyToUserId
|
private java.lang.String |
statusSource
|
private java.lang.String |
statusText
|
private boolean |
statusTruncated
|
private java.lang.String |
timeZone
|
private java.lang.String |
url
|
private int |
utcOffset
|
| Constructor Summary | |
|---|---|
UserJSONImpl(HttpResponse res)
|
|
UserJSONImpl(twitter4j.org.json.JSONObject json)
|
|
| Method Summary | |
|---|---|
(package private) static PagableResponseList<User> |
createPagableUserList(HttpResponse res)
|
(package private) static ResponseList<User> |
createUserList(HttpResponse res)
|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getCreatedAt()
|
java.lang.String |
getDescription()
Returns the description of the user |
int |
getFavouritesCount()
|
int |
getFollowersCount()
Returns the number of followers |
int |
getFriendsCount()
|
int |
getId()
Returns the id of the user |
java.lang.String |
getLocation()
Returns the location of the user |
java.lang.String |
getName()
Returns the name of the user |
java.lang.String |
getProfileBackgroundColor()
|
java.lang.String |
getProfileBackgroundImageUrl()
|
java.net.URL |
getProfileImageURL()
Returns the profile image url of the user |
java.lang.String |
getProfileLinkColor()
|
java.lang.String |
getProfileSidebarBorderColor()
|
java.lang.String |
getProfileSidebarFillColor()
|
java.lang.String |
getProfileTextColor()
|
java.lang.String |
getScreenName()
Returns the screen name of the user |
java.util.Date |
getStatusCreatedAt()
|
int |
getStatusesCount()
|
long |
getStatusId()
|
java.lang.String |
getStatusInReplyToScreenName()
|
long |
getStatusInReplyToStatusId()
|
int |
getStatusInReplyToUserId()
|
java.lang.String |
getStatusSource()
|
java.lang.String |
getStatusText()
|
java.lang.String |
getTimeZone()
|
java.net.URL |
getURL()
Returns the url of the user |
int |
getUtcOffset()
|
int |
hashCode()
|
private void |
init(twitter4j.org.json.JSONObject json)
|
boolean |
isGeoEnabled()
|
boolean |
isProfileBackgroundTiled()
|
boolean |
isProtected()
Test if the user status is protected |
boolean |
isStatusFavorited()
|
boolean |
isStatusTruncated()
|
boolean |
isVerified()
|
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 int id
private java.lang.String name
private java.lang.String screenName
private java.lang.String location
private java.lang.String description
private java.lang.String profileImageUrl
private java.lang.String url
private boolean isProtected
private int followersCount
private java.util.Date statusCreatedAt
private long statusId
private java.lang.String statusText
private java.lang.String statusSource
private boolean statusTruncated
private long statusInReplyToStatusId
private int statusInReplyToUserId
private boolean statusFavorited
private java.lang.String statusInReplyToScreenName
private java.lang.String profileBackgroundColor
private java.lang.String profileTextColor
private java.lang.String profileLinkColor
private java.lang.String profileSidebarFillColor
private java.lang.String profileSidebarBorderColor
private int friendsCount
private java.util.Date createdAt
private int favouritesCount
private int utcOffset
private java.lang.String timeZone
private java.lang.String profileBackgroundImageUrl
private boolean profileBackgroundTiled
private int statusesCount
private boolean isGeoEnabled
private boolean isVerified
private static final long serialVersionUID
| Constructor Detail |
|---|
UserJSONImpl(HttpResponse res)
throws TwitterException
TwitterException
UserJSONImpl(twitter4j.org.json.JSONObject json)
throws TwitterException
TwitterException| Method Detail |
|---|
private void init(twitter4j.org.json.JSONObject json)
throws TwitterException
TwitterExceptionpublic int getId()
getId in interface Userpublic java.lang.String getName()
getName in interface Userpublic java.lang.String getScreenName()
getScreenName in interface Userpublic java.lang.String getLocation()
getLocation in interface Userpublic java.lang.String getDescription()
getDescription in interface Userpublic java.net.URL getProfileImageURL()
getProfileImageURL in interface Userpublic java.net.URL getURL()
getURL in interface Userpublic boolean isProtected()
isProtected in interface Userpublic int getFollowersCount()
getFollowersCount in interface Userpublic java.util.Date getStatusCreatedAt()
getStatusCreatedAt in interface Userpublic long getStatusId()
getStatusId in interface Userpublic java.lang.String getStatusText()
getStatusText in interface Userpublic java.lang.String getStatusSource()
getStatusSource in interface Userpublic boolean isStatusTruncated()
isStatusTruncated in interface Userpublic long getStatusInReplyToStatusId()
getStatusInReplyToStatusId in interface Userpublic int getStatusInReplyToUserId()
getStatusInReplyToUserId in interface Userpublic boolean isStatusFavorited()
isStatusFavorited in interface Userpublic java.lang.String getStatusInReplyToScreenName()
getStatusInReplyToScreenName in interface Userpublic java.lang.String getProfileBackgroundColor()
getProfileBackgroundColor in interface Userpublic java.lang.String getProfileTextColor()
getProfileTextColor in interface Userpublic java.lang.String getProfileLinkColor()
getProfileLinkColor in interface Userpublic java.lang.String getProfileSidebarFillColor()
getProfileSidebarFillColor in interface Userpublic java.lang.String getProfileSidebarBorderColor()
getProfileSidebarBorderColor in interface Userpublic int getFriendsCount()
getFriendsCount in interface Userpublic java.util.Date getCreatedAt()
getCreatedAt in interface Userpublic int getFavouritesCount()
getFavouritesCount in interface Userpublic int getUtcOffset()
getUtcOffset in interface Userpublic java.lang.String getTimeZone()
getTimeZone in interface Userpublic java.lang.String getProfileBackgroundImageUrl()
getProfileBackgroundImageUrl in interface Userpublic boolean isProfileBackgroundTiled()
isProfileBackgroundTiled in interface Userpublic int getStatusesCount()
getStatusesCount in interface Userpublic boolean isGeoEnabled()
isGeoEnabled in interface Userpublic boolean isVerified()
isVerified in interface User
static PagableResponseList<User> createPagableUserList(HttpResponse res)
throws TwitterException
TwitterException
static ResponseList<User> createUserList(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 | ||||||||