public interface User extends java.lang.Comparable<User>, TwitterResponse, java.io.Serializable
Modifier and Type | Method and Description |
---|---|
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 |
getLang()
Returns the preferred language of the user
|
int |
getListedCount()
Returns the number of public lists the user is listed on, or -1
if the count is unavailable.
|
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
|
Status |
getStatus()
Returns the current status of the user
This can be null if the instance if from Status.getUser(). |
java.util.Date |
getStatusCreatedAt()
Deprecated.
|
int |
getStatusesCount() |
long |
getStatusId()
Deprecated.
|
java.lang.String |
getStatusInReplyToScreenName()
Deprecated.
|
long |
getStatusInReplyToStatusId()
Deprecated.
|
int |
getStatusInReplyToUserId()
Deprecated.
|
java.lang.String |
getStatusSource()
Deprecated.
|
java.lang.String |
getStatusText()
Deprecated.
|
java.lang.String |
getTimeZone() |
java.net.URL |
getURL()
Returns the url of the user
|
int |
getUtcOffset() |
boolean |
isContributorsEnabled()
Tests if the user is enabling contributors
|
boolean |
isFollowRequestSent()
Returns true if the authenticating user has requested to follow this user,
otherwise false.
|
boolean |
isGeoEnabled() |
boolean |
isProfileBackgroundTiled() |
boolean |
isProtected()
Test if the user status is protected
|
boolean |
isStatusFavorited()
Deprecated.
|
boolean |
isStatusTruncated()
Deprecated.
|
boolean |
isVerified() |
getRateLimitStatus
int getId()
java.lang.String getName()
java.lang.String getScreenName()
java.lang.String getLocation()
java.lang.String getDescription()
boolean isContributorsEnabled()
java.net.URL getProfileImageURL()
java.net.URL getURL()
boolean isProtected()
int getFollowersCount()
Status getStatus()
java.util.Date getStatusCreatedAt()
long getStatusId()
java.lang.String getStatusText()
java.lang.String getStatusSource()
boolean isStatusTruncated()
long getStatusInReplyToStatusId()
int getStatusInReplyToUserId()
boolean isStatusFavorited()
java.lang.String getStatusInReplyToScreenName()
java.lang.String getProfileBackgroundColor()
java.lang.String getProfileTextColor()
java.lang.String getProfileLinkColor()
java.lang.String getProfileSidebarFillColor()
java.lang.String getProfileSidebarBorderColor()
int getFriendsCount()
java.util.Date getCreatedAt()
int getFavouritesCount()
int getUtcOffset()
java.lang.String getTimeZone()
java.lang.String getProfileBackgroundImageUrl()
boolean isProfileBackgroundTiled()
java.lang.String getLang()
int getStatusesCount()
boolean isGeoEnabled()
boolean isVerified()
int getListedCount()
boolean isFollowRequestSent()