|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttwitter4j.TwitterResponse
twitter4j.User
public class User
A data class representing Twitter User
| Method Summary | |
|---|---|
static java.util.List<User> |
constructUsers(org.w3c.dom.Document doc,
Twitter twitter)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Returns the description of the user |
int |
getFollowersCount()
Returns the number of followers |
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.net.URL |
getProfileImageURL()
Returns the profile image url of the user |
java.lang.String |
getScreenName()
Returns the screen name of the user |
java.net.URL |
getURL()
Returns the url of the user |
int |
hashCode()
|
boolean |
isProtected()
Test if the user status is protected |
DirectMessage |
sendDirectMessage(java.lang.String text)
|
java.lang.String |
toString()
|
| Methods inherited from class twitter4j.TwitterResponse |
|---|
ensureRootNodeNameIs, ensureRootNodeNameIs, ensureRootNodeNameIs, getChildBoolean, getChildDate, getChildInt, getChildLong, getChildText, isRootNodeNilClasses |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int getId()
public java.lang.String getName()
public java.lang.String getScreenName()
public java.lang.String getLocation()
public java.lang.String getDescription()
public java.net.URL getProfileImageURL()
public java.net.URL getURL()
public boolean isProtected()
public int getFollowersCount()
public DirectMessage sendDirectMessage(java.lang.String text)
throws TwitterException
TwitterException
public static java.util.List<User> constructUsers(org.w3c.dom.Document doc,
Twitter twitter)
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 | ||||||||