twitter4j
Class TwitterAdapter
java.lang.Object
twitter4j.TwitterAdapter
- All Implemented Interfaces:
- TwitterListener
public class TwitterAdapter
- extends java.lang.Object
- implements TwitterListener
A handy adapter of TwitterListener.
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
AsyncTwitter,
TwitterListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwitterAdapter
public TwitterAdapter()
searched
public void searched(QueryResult result)
- Specified by:
searched in interface TwitterListener
gotTrends
public void gotTrends(Trends trends)
- Specified by:
gotTrends in interface TwitterListener
- Since:
- Twitter4J 2.0.2
gotCurrentTrends
public void gotCurrentTrends(Trends trends)
- Specified by:
gotCurrentTrends in interface TwitterListener
- Since:
- Twitter4J 2.0.2
gotDailyTrends
public void gotDailyTrends(java.util.List<Trends> trendsList)
- Specified by:
gotDailyTrends in interface TwitterListener
- Since:
- Twitter4J 2.0.2
gotWeeklyTrends
public void gotWeeklyTrends(java.util.List<Trends> trendsList)
- Specified by:
gotWeeklyTrends in interface TwitterListener
- Since:
- Twitter4J 2.0.2
gotPublicTimeline
public void gotPublicTimeline(ResponseList<Status> statuses)
- Specified by:
gotPublicTimeline in interface TwitterListener
gotHomeTimeline
public void gotHomeTimeline(ResponseList<Status> statuses)
- Specified by:
gotHomeTimeline in interface TwitterListener
- Since:
- Twitter4J 2.0.10
gotFriendsTimeline
public void gotFriendsTimeline(ResponseList<Status> statuses)
- Specified by:
gotFriendsTimeline in interface TwitterListener
gotUserTimeline
public void gotUserTimeline(ResponseList<Status> statuses)
- Specified by:
gotUserTimeline in interface TwitterListener
gotMentions
public void gotMentions(ResponseList<Status> statuses)
- Specified by:
gotMentions in interface TwitterListener
- Since:
- Twitter4J 2.0.1
gotRetweetedByMe
public void gotRetweetedByMe(ResponseList<Status> statuses)
- Specified by:
gotRetweetedByMe in interface TwitterListener
- Since:
- Twitter4J 2.0.10
gotRetweetedToMe
public void gotRetweetedToMe(ResponseList<Status> statuses)
- Specified by:
gotRetweetedToMe in interface TwitterListener
- Since:
- Twitter4J 2.0.10
gotRetweetsOfMe
public void gotRetweetsOfMe(ResponseList<Status> statuses)
- Specified by:
gotRetweetsOfMe in interface TwitterListener
- Since:
- Twitter4J 2.0.10
gotShowStatus
public void gotShowStatus(Status statuses)
- Specified by:
gotShowStatus in interface TwitterListener
- Since:
- Twitter4J 2.0.1
updatedStatus
public void updatedStatus(Status statuses)
- Specified by:
updatedStatus in interface TwitterListener
destroyedStatus
public void destroyedStatus(Status destroyedStatus)
- Specified by:
destroyedStatus in interface TwitterListener
retweetedStatus
public void retweetedStatus(Status retweetedStatus)
- Specified by:
retweetedStatus in interface TwitterListener
- Since:
- Twitter4J 2.0.10
gotRetweets
public void gotRetweets(ResponseList<Status> retweets)
- Specified by:
gotRetweets in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserDetail
public void gotUserDetail(User user)
- Specified by:
gotUserDetail in interface TwitterListener
searchedUser
public void searchedUser(ResponseList<User> userList)
- Specified by:
searchedUser in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotFriendsStatuses
public void gotFriendsStatuses(PagableResponseList<User> users)
- Specified by:
gotFriendsStatuses in interface TwitterListener
gotFollowersStatuses
public void gotFollowersStatuses(PagableResponseList<User> users)
- Specified by:
gotFollowersStatuses in interface TwitterListener
createdUserList
public void createdUserList(UserList userList)
- Specified by:
createdUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
updatedUserList
public void updatedUserList(UserList userList)
- Specified by:
updatedUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserLists
public void gotUserLists(PagableResponseList<UserList> userLists)
- Specified by:
gotUserLists in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotShowUserList
public void gotShowUserList(UserList userList)
- Specified by:
gotShowUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
deletedUserList
public void deletedUserList(UserList userList)
- Specified by:
deletedUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserListStatuses
public void gotUserListStatuses(PagableResponseList<UserList> userLists)
- Specified by:
gotUserListStatuses in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserListMemberships
public void gotUserListMemberships(PagableResponseList<UserList> userLists)
- Specified by:
gotUserListMemberships in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserListSubscriptions
public void gotUserListSubscriptions(PagableResponseList<UserList> userLists)
- Specified by:
gotUserListSubscriptions in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserListMembers
public void gotUserListMembers(PagableResponseList<User> users)
- Specified by:
gotUserListMembers in interface TwitterListener
- Since:
- Twitter4J 2.1.0
addedUserListMember
public void addedUserListMember(UserList userList)
- Specified by:
addedUserListMember in interface TwitterListener
- Since:
- Twitter4J 2.1.0
deletedUserListMember
public void deletedUserListMember(UserList userList)
- Specified by:
deletedUserListMember in interface TwitterListener
- Since:
- Twitter4J 2.1.0
checkedUserListMembership
public void checkedUserListMembership(PagableResponseList<User> users)
- Specified by:
checkedUserListMembership in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotUserListSubscribers
public void gotUserListSubscribers(PagableResponseList<User> users)
- Specified by:
gotUserListSubscribers in interface TwitterListener
- Since:
- Twitter4J 2.1.0
subscribedUserList
public void subscribedUserList(UserList userList)
- Specified by:
subscribedUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
unsubscribedUserList
public void unsubscribedUserList(UserList userList)
- Specified by:
unsubscribedUserList in interface TwitterListener
- Since:
- Twitter4J 2.1.0
checkedUserListSubscription
public void checkedUserListSubscription(User user)
- Specified by:
checkedUserListSubscription in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotDirectMessages
public void gotDirectMessages(ResponseList<DirectMessage> messages)
- Specified by:
gotDirectMessages in interface TwitterListener
gotSentDirectMessages
public void gotSentDirectMessages(ResponseList<DirectMessage> messages)
- Specified by:
gotSentDirectMessages in interface TwitterListener
sentDirectMessage
public void sentDirectMessage(DirectMessage message)
- Specified by:
sentDirectMessage in interface TwitterListener
destroyedDirectMessage
public void destroyedDirectMessage(DirectMessage message)
- Specified by:
destroyedDirectMessage in interface TwitterListener
- Since:
- Twitter4J 2.0.1
createdFriendship
public void createdFriendship(User user)
- Specified by:
createdFriendship in interface TwitterListener
- Since:
- Twitter4J 2.0.1
destroyedFriendship
public void destroyedFriendship(User user)
- Specified by:
destroyedFriendship in interface TwitterListener
- Since:
- Twitter4J 2.0.1
gotExistsFriendship
public void gotExistsFriendship(boolean exists)
- Specified by:
gotExistsFriendship in interface TwitterListener
- Since:
- Twitter4J 2.0.1
gotShowFriendship
public void gotShowFriendship(Relationship relationship)
- Specified by:
gotShowFriendship in interface TwitterListener
- Since:
- Twitter4J 2.1.0
gotFriendsIDs
public void gotFriendsIDs(IDs ids)
- Specified by:
gotFriendsIDs in interface TwitterListener
gotFollowersIDs
public void gotFollowersIDs(IDs ids)
- Specified by:
gotFollowersIDs in interface TwitterListener
gotRateLimitStatus
public void gotRateLimitStatus(RateLimitStatus status)
- Specified by:
gotRateLimitStatus in interface TwitterListener
updatedDeliveryDevice
public void updatedDeliveryDevice(User user)
- Specified by:
updatedDeliveryDevice in interface TwitterListener
updatedProfileColors
public void updatedProfileColors(User user)
- Specified by:
updatedProfileColors in interface TwitterListener
updatedProfileImage
public void updatedProfileImage(User user)
- Specified by:
updatedProfileImage in interface TwitterListener
- Since:
- Twitter4J 2.1.0
updatedProfileBackgroundImage
public void updatedProfileBackgroundImage(User user)
- Specified by:
updatedProfileBackgroundImage in interface TwitterListener
- Since:
- Twitter4J 2.1.0
updatedProfile
public void updatedProfile(User user)
- Specified by:
updatedProfile in interface TwitterListener
- Since:
- Twitter4J 2.0.2
gotFavorites
public void gotFavorites(ResponseList<Status> statuses)
- Specified by:
gotFavorites in interface TwitterListener
createdFavorite
public void createdFavorite(Status status)
- Specified by:
createdFavorite in interface TwitterListener
destroyedFavorite
public void destroyedFavorite(Status status)
- Specified by:
destroyedFavorite in interface TwitterListener
enabledNotification
public void enabledNotification(User user)
- Specified by:
enabledNotification in interface TwitterListener
- Since:
- Twitter4J 2.0.1
disabledNotification
public void disabledNotification(User user)
- Specified by:
disabledNotification in interface TwitterListener
- Since:
- Twitter4J 2.0.1
createdBlock
public void createdBlock(User user)
- Specified by:
createdBlock in interface TwitterListener
- Since:
- Twitter4J 2.0.1
destroyedBlock
public void destroyedBlock(User user)
- Specified by:
destroyedBlock in interface TwitterListener
- Since:
- Twitter4J 2.0.1
gotExistsBlock
public void gotExistsBlock(boolean blockExists)
- Specified by:
gotExistsBlock in interface TwitterListener
- Since:
- Twitter4J 2.0.4
gotBlockingUsers
public void gotBlockingUsers(ResponseList<User> blockingUsers)
- Specified by:
gotBlockingUsers in interface TwitterListener
- Since:
- Twitter4J 2.0.4
gotBlockingUsersIDs
public void gotBlockingUsersIDs(IDs blockingUsersIDs)
- Specified by:
gotBlockingUsersIDs in interface TwitterListener
- Since:
- Twitter4J 2.0.4
reportedSpam
public void reportedSpam(User reportedSpammer)
throws TwitterException
- Specified by:
reportedSpam in interface TwitterListener
- Throws:
TwitterException
tested
public void tested(boolean test)
- Specified by:
tested in interface TwitterListener
onException
public void onException(TwitterException ex,
TwitterMethod method)
- Specified by:
onException in interface TwitterListener
- Parameters:
ex - TwitterExceptionmethod -