|
|||||||||
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 TwitterListener
public void gotPublicTimeline(java.util.List<Status> statuses)
gotPublicTimeline
in interface TwitterListener
public void gotFriendsTimeline(java.util.List<Status> statuses)
gotFriendsTimeline
in interface TwitterListener
public void gotUserTimeline(java.util.List<Status> statuses)
gotUserTimeline
in interface TwitterListener
public void gotShow(Status statuses)
gotShow
in interface TwitterListener
public void gotShowStatus(Status statuses)
gotShowStatus
in interface TwitterListener
public void updated(Status statuses)
updated
in interface TwitterListener
public void updatedStatus(Status statuses)
updatedStatus
in interface TwitterListener
public void gotReplies(java.util.List<Status> statuses)
gotReplies
in interface TwitterListener
public void gotMentions(java.util.List<Status> statuses)
gotMentions
in interface TwitterListener
public void gotRetweetedByMe(java.util.List<Status> statuses)
gotRetweetedByMe
in interface TwitterListener
public void gotRetweetedToMe(java.util.List<Status> statuses)
gotRetweetedToMe
in interface TwitterListener
public void gotRetweetsOfMe(java.util.List<Status> statuses)
gotRetweetsOfMe
in interface TwitterListener
public void destroyedStatus(Status destroyedStatus)
destroyedStatus
in interface TwitterListener
public void retweetedStatus(Status retweetedStatus)
retweetedStatus
in interface TwitterListener
public void gotFriends(java.util.List<User> users)
gotFriends
in interface TwitterListener
public void gotFollowers(java.util.List<User> users)
gotFollowers
in interface TwitterListener
public void gotFeatured(java.util.List<User> users)
gotFeatured
in interface TwitterListener
public void gotUserDetail(User user)
gotUserDetail
in interface TwitterListener
public void gotDirectMessages(java.util.List<DirectMessage> messages)
gotDirectMessages
in interface TwitterListener
public void gotSentDirectMessages(java.util.List<DirectMessage> messages)
gotSentDirectMessages
in interface TwitterListener
public void sentDirectMessage(DirectMessage message)
sentDirectMessage
in interface TwitterListener
public void deletedDirectMessage(DirectMessage message)
deletedDirectMessage
in interface TwitterListener
public void destroyedDirectMessage(DirectMessage message)
destroyedDirectMessage
in interface TwitterListener
public void gotFriendsIDs(IDs ids)
gotFriendsIDs
in interface TwitterListener
public void gotFollowersIDs(IDs ids)
gotFollowersIDs
in interface TwitterListener
public void created(User user)
created
in interface TwitterListener
public void createdFriendship(User user)
createdFriendship
in interface TwitterListener
public void destroyed(User user)
destroyed
in interface TwitterListener
public void destroyedFriendship(User user)
destroyedFriendship
in interface TwitterListener
public void gotExists(boolean exists)
gotExists
in interface TwitterListener
public void gotExistsFriendship(boolean exists)
gotExistsFriendship
in interface TwitterListener
public void updatedLocation(User user)
updatedLocation
in interface TwitterListener
public void updatedProfile(User user)
updatedProfile
in interface TwitterListener
public void updatedProfileColors(User user)
updatedProfileColors
in interface TwitterListener
public void gotRateLimitStatus(RateLimitStatus status)
gotRateLimitStatus
in interface TwitterListener
public void updatedDeliverlyDevice(User user)
updatedDeliverlyDevice
in interface TwitterListener
public void gotFavorites(java.util.List<Status> statuses)
gotFavorites
in interface TwitterListener
public void createdFavorite(Status status)
createdFavorite
in interface TwitterListener
public void destroyedFavorite(Status status)
destroyedFavorite
in interface TwitterListener
public void followed(User user)
followed
in interface TwitterListener
public void enabledNotification(User user)
enabledNotification
in interface TwitterListener
public void left(User user)
left
in interface TwitterListener
public void disabledNotification(User user)
disabledNotification
in interface TwitterListener
public void blocked(User user)
blocked
in interface TwitterListener
public void createdBlock(User user)
createdBlock
in interface TwitterListener
public void unblocked(User user)
unblocked
in interface TwitterListener
public void destroyedBlock(User user)
destroyedBlock
in interface TwitterListener
public void gotExistsBlock(boolean blockExists)
gotExistsBlock
in interface TwitterListener
public void gotBlockingUsers(java.util.List<User> blockingUsers)
gotBlockingUsers
in interface TwitterListener
public void gotBlockingUsersIDs(IDs blockingUsersIDs)
gotBlockingUsersIDs
in interface TwitterListener
public void tested(boolean test)
tested
in interface TwitterListener
public void gotDowntimeSchedule(java.lang.String schedule)
gotDowntimeSchedule
in interface TwitterListener
public void searched(QueryResult result)
searched
in interface TwitterListener
public void gotTrends(Trends trends)
gotTrends
in interface TwitterListener
public void gotCurrentTrends(Trends trends)
gotCurrentTrends
in interface TwitterListener
public void gotDailyTrends(java.util.List<Trends> trendsList)
gotDailyTrends
in interface TwitterListener
public void gotWeeklyTrends(java.util.List<Trends> trendsList)
gotWeeklyTrends
in interface TwitterListener
public void onException(TwitterException ex, int method)
onException
in interface TwitterListener
ex
- TwitterExceptionmethod
- int
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |