|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttwitter4j.TwitterAdapter
public class TwitterAdapter
A handy adapter of TwitterListener.
AsyncTwitter,
TwitterListener| Constructor Summary | |
|---|---|
TwitterAdapter()
|
|
| Method Summary | |
|---|---|
void |
blocked(User user)
Deprecated. use createdBlock instead |
void |
created(User user)
Deprecated. use createdFriendship instead |
void |
createdBlock(User user)
|
void |
createdFavorite(Status status)
|
void |
createdFriendship(User user)
|
void |
deletedDirectMessage(DirectMessage message)
Deprecated. use destroyedDirectMessage instead |
void |
destroyed(User user)
Deprecated. use destroyedFriendship instead |
void |
destroyedBlock(User user)
|
void |
destroyedDirectMessage(DirectMessage message)
|
void |
destroyedFavorite(Status status)
|
void |
destroyedFriendship(User user)
|
void |
destroyedStatus(Status destroyedStatus)
|
void |
disabledNotification(User user)
|
void |
enabledNotification(User user)
|
void |
followed(User user)
Deprecated. use enabledNotification instead |
void |
gotBlockingUsers(java.util.List<User> blockingUsers)
|
void |
gotBlockingUsersIDs(IDs blockingUsersIDs)
|
void |
gotCurrentTrends(Trends trends)
|
void |
gotDailyTrends(java.util.List<Trends> trendsList)
|
void |
gotDirectMessages(java.util.List<DirectMessage> messages)
|
void |
gotDowntimeSchedule(java.lang.String schedule)
Deprecated. not supported by Twitter API anymore |
void |
gotExists(boolean exists)
Deprecated. use gotExistsFriendship instead |
void |
gotExistsBlock(boolean blockExists)
|
void |
gotExistsFriendship(boolean exists)
|
void |
gotFavorites(java.util.List<Status> statuses)
|
void |
gotFeatured(java.util.List<User> users)
|
void |
gotFollowers(java.util.List<User> users)
|
void |
gotFollowersIDs(IDs ids)
|
void |
gotFriends(java.util.List<User> users)
|
void |
gotFriendsIDs(IDs ids)
|
void |
gotFriendsTimeline(java.util.List<Status> statuses)
|
void |
gotHomeTimeline(java.util.List<Status> statuses)
|
void |
gotMentions(java.util.List<Status> statuses)
|
void |
gotPublicTimeline(java.util.List<Status> statuses)
|
void |
gotRateLimitStatus(RateLimitStatus status)
|
void |
gotReplies(java.util.List<Status> statuses)
Deprecated. use gotMentions instead |
void |
gotRetweetedByMe(java.util.List<Status> statuses)
|
void |
gotRetweetedToMe(java.util.List<Status> statuses)
|
void |
gotRetweetsOfMe(java.util.List<Status> statuses)
|
void |
gotSentDirectMessages(java.util.List<DirectMessage> messages)
|
void |
gotShow(Status statuses)
Deprecated. use gotShowStatus instead |
void |
gotShowStatus(Status statuses)
|
void |
gotTrends(Trends trends)
|
void |
gotUserDetail(User user)
|
void |
gotUserTimeline(java.util.List<Status> statuses)
|
void |
gotWeeklyTrends(java.util.List<Trends> trendsList)
|
void |
left(User user)
Deprecated. use disabledNotification instead |
void |
onException(TwitterException ex,
int method)
|
void |
retweetedStatus(Status retweetedStatus)
|
void |
searched(QueryResult result)
|
void |
sentDirectMessage(DirectMessage message)
|
void |
tested(boolean test)
|
void |
unblocked(User user)
Deprecated. use destroyedBlock instead |
void |
updated(Status statuses)
Deprecated. use updatedStatus instead |
void |
updatedDeliverlyDevice(User user)
|
void |
updatedLocation(User user)
Deprecated. Use updatedProfile instead |
void |
updatedProfile(User user)
|
void |
updatedProfileColors(User user)
|
void |
updatedStatus(Status statuses)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TwitterAdapter()
| Method Detail |
|---|
public void gotHomeTimeline(java.util.List<Status> statuses)
gotHomeTimeline in interface TwitterListenerpublic void gotPublicTimeline(java.util.List<Status> statuses)
gotPublicTimeline in interface TwitterListenerpublic void gotFriendsTimeline(java.util.List<Status> statuses)
gotFriendsTimeline in interface TwitterListenerpublic void gotUserTimeline(java.util.List<Status> statuses)
gotUserTimeline in interface TwitterListenerpublic void gotShow(Status statuses)
gotShow in interface TwitterListenerpublic void gotShowStatus(Status statuses)
gotShowStatus in interface TwitterListenerpublic void updated(Status statuses)
updated in interface TwitterListenerpublic void updatedStatus(Status statuses)
updatedStatus in interface TwitterListenerpublic void gotReplies(java.util.List<Status> statuses)
gotReplies in interface TwitterListenerpublic void gotMentions(java.util.List<Status> statuses)
gotMentions in interface TwitterListenerpublic void gotRetweetedByMe(java.util.List<Status> statuses)
gotRetweetedByMe in interface TwitterListenerpublic void gotRetweetedToMe(java.util.List<Status> statuses)
gotRetweetedToMe in interface TwitterListenerpublic void gotRetweetsOfMe(java.util.List<Status> statuses)
gotRetweetsOfMe in interface TwitterListenerpublic void destroyedStatus(Status destroyedStatus)
destroyedStatus in interface TwitterListenerpublic void retweetedStatus(Status retweetedStatus)
retweetedStatus in interface TwitterListenerpublic void gotFriends(java.util.List<User> users)
gotFriends in interface TwitterListenerpublic void gotFollowers(java.util.List<User> users)
gotFollowers in interface TwitterListenerpublic void gotFeatured(java.util.List<User> users)
gotFeatured in interface TwitterListenerpublic void gotUserDetail(User user)
gotUserDetail in interface TwitterListenerpublic void gotDirectMessages(java.util.List<DirectMessage> messages)
gotDirectMessages in interface TwitterListenerpublic void gotSentDirectMessages(java.util.List<DirectMessage> messages)
gotSentDirectMessages in interface TwitterListenerpublic void sentDirectMessage(DirectMessage message)
sentDirectMessage in interface TwitterListenerpublic void deletedDirectMessage(DirectMessage message)
deletedDirectMessage in interface TwitterListenerpublic void destroyedDirectMessage(DirectMessage message)
destroyedDirectMessage in interface TwitterListenerpublic void gotFriendsIDs(IDs ids)
gotFriendsIDs in interface TwitterListenerpublic void gotFollowersIDs(IDs ids)
gotFollowersIDs in interface TwitterListenerpublic void created(User user)
created in interface TwitterListenerpublic void createdFriendship(User user)
createdFriendship in interface TwitterListenerpublic void destroyed(User user)
destroyed in interface TwitterListenerpublic void destroyedFriendship(User user)
destroyedFriendship in interface TwitterListenerpublic void gotExists(boolean exists)
gotExists in interface TwitterListenerpublic void gotExistsFriendship(boolean exists)
gotExistsFriendship in interface TwitterListenerpublic void updatedLocation(User user)
updatedLocation in interface TwitterListenerpublic void updatedProfile(User user)
updatedProfile in interface TwitterListenerpublic void updatedProfileColors(User user)
updatedProfileColors in interface TwitterListenerpublic void gotRateLimitStatus(RateLimitStatus status)
gotRateLimitStatus in interface TwitterListenerpublic void updatedDeliverlyDevice(User user)
updatedDeliverlyDevice in interface TwitterListenerpublic void gotFavorites(java.util.List<Status> statuses)
gotFavorites in interface TwitterListenerpublic void createdFavorite(Status status)
createdFavorite in interface TwitterListenerpublic void destroyedFavorite(Status status)
destroyedFavorite in interface TwitterListenerpublic void followed(User user)
followed in interface TwitterListenerpublic void enabledNotification(User user)
enabledNotification in interface TwitterListenerpublic void left(User user)
left in interface TwitterListenerpublic void disabledNotification(User user)
disabledNotification in interface TwitterListenerpublic void blocked(User user)
blocked in interface TwitterListenerpublic void createdBlock(User user)
createdBlock in interface TwitterListenerpublic void unblocked(User user)
unblocked in interface TwitterListenerpublic void destroyedBlock(User user)
destroyedBlock in interface TwitterListenerpublic void gotExistsBlock(boolean blockExists)
gotExistsBlock in interface TwitterListenerpublic void gotBlockingUsers(java.util.List<User> blockingUsers)
gotBlockingUsers in interface TwitterListenerpublic void gotBlockingUsersIDs(IDs blockingUsersIDs)
gotBlockingUsersIDs in interface TwitterListenerpublic void tested(boolean test)
tested in interface TwitterListenerpublic void gotDowntimeSchedule(java.lang.String schedule)
gotDowntimeSchedule in interface TwitterListenerpublic void searched(QueryResult result)
searched in interface TwitterListenerpublic void gotTrends(Trends trends)
gotTrends in interface TwitterListenerpublic void gotCurrentTrends(Trends trends)
gotCurrentTrends in interface TwitterListenerpublic void gotDailyTrends(java.util.List<Trends> trendsList)
gotDailyTrends in interface TwitterListenerpublic void gotWeeklyTrends(java.util.List<Trends> trendsList)
gotWeeklyTrends in interface TwitterListener
public void onException(TwitterException ex,
int method)
onException in interface TwitterListenerex - TwitterExceptionmethod - int
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||