twitter4j
Class TwitterAdapter

java.lang.Object
  extended by twitter4j.TwitterAdapter
All Implemented Interfaces:
TwitterListener

public class TwitterAdapter
extends java.lang.Object
implements TwitterListener

A handy adapter of TwitterListener.

See Also:
AsyncTwitter, TwitterListener

Constructor Summary
TwitterAdapter()
           
 
Method Summary
 void blocked(User user)
           
 void created(User user)
           
 void createdFavorite(Status status)
           
 void deletedDirectMessage(DirectMessage message)
           
 void destroyed(User user)
           
 void destroyedFavorite(Status status)
           
 void destroyedStatus(Status destroyedStatus)
           
 void followed(User user)
           
 void gotDirectMessages(java.util.List<DirectMessage> messages)
           
 void gotDowntimeSchedule(java.lang.String schedule)
           
 void gotFavorites(java.util.List<Status> statuses)
           
 void gotFeatured(java.util.List<User> users)
           
 void gotFollowers(java.util.List<User> users)
           
 void gotFriends(java.util.List<User> users)
           
 void gotFriendsTimeline(java.util.List<Status> statuses)
           
 void gotPublicTimeline(java.util.List<Status> statuses)
           
 void gotReplies(java.util.List<Status> statuses)
           
 void gotSentDirectMessages(java.util.List<DirectMessage> messages)
           
 void gotShow(Status statuses)
           
 void gotUserDetail(UserWithStatus userWithStatus)
           
 void gotUserTimeline(java.util.List<Status> statuses)
           
 void left(User user)
           
 void onException(TwitterException ex, int method)
           
 void sentDirectMessage(DirectMessage message)
           
 void tested(boolean test)
           
 void unblocked(User user)
           
 void updated(Status statuses)
           
 void updatedDeliverlyDevice(User user)
           
 void updatedLocation(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterAdapter

public TwitterAdapter()
Method Detail

gotPublicTimeline

public void gotPublicTimeline(java.util.List<Status> statuses)
Specified by:
gotPublicTimeline in interface TwitterListener

gotFriendsTimeline

public void gotFriendsTimeline(java.util.List<Status> statuses)
Specified by:
gotFriendsTimeline in interface TwitterListener

gotUserTimeline

public void gotUserTimeline(java.util.List<Status> statuses)
Specified by:
gotUserTimeline in interface TwitterListener

gotShow

public void gotShow(Status statuses)
Specified by:
gotShow in interface TwitterListener

updated

public void updated(Status statuses)
Specified by:
updated in interface TwitterListener

gotReplies

public void gotReplies(java.util.List<Status> statuses)
Specified by:
gotReplies in interface TwitterListener

destroyedStatus

public void destroyedStatus(Status destroyedStatus)
Specified by:
destroyedStatus in interface TwitterListener

gotFriends

public void gotFriends(java.util.List<User> users)
Specified by:
gotFriends in interface TwitterListener

gotFollowers

public void gotFollowers(java.util.List<User> users)
Specified by:
gotFollowers in interface TwitterListener

gotFeatured

public void gotFeatured(java.util.List<User> users)
Specified by:
gotFeatured in interface TwitterListener

gotUserDetail

public void gotUserDetail(UserWithStatus userWithStatus)
Specified by:
gotUserDetail in interface TwitterListener

gotDirectMessages

public void gotDirectMessages(java.util.List<DirectMessage> messages)
Specified by:
gotDirectMessages in interface TwitterListener

gotSentDirectMessages

public void gotSentDirectMessages(java.util.List<DirectMessage> messages)
Specified by:
gotSentDirectMessages in interface TwitterListener

sentDirectMessage

public void sentDirectMessage(DirectMessage message)
Specified by:
sentDirectMessage in interface TwitterListener

deletedDirectMessage

public void deletedDirectMessage(DirectMessage message)
Specified by:
deletedDirectMessage in interface TwitterListener

created

public void created(User user)
Specified by:
created in interface TwitterListener

destroyed

public void destroyed(User user)
Specified by:
destroyed in interface TwitterListener

updatedLocation

public void updatedLocation(User user)
Specified by:
updatedLocation in interface TwitterListener

updatedDeliverlyDevice

public void updatedDeliverlyDevice(User user)
Specified by:
updatedDeliverlyDevice in interface TwitterListener

gotFavorites

public void gotFavorites(java.util.List<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

followed

public void followed(User user)
Specified by:
followed in interface TwitterListener

left

public void left(User user)
Specified by:
left in interface TwitterListener

blocked

public void blocked(User user)
Specified by:
blocked in interface TwitterListener

unblocked

public void unblocked(User user)
Specified by:
unblocked in interface TwitterListener

tested

public void tested(boolean test)
Specified by:
tested in interface TwitterListener

gotDowntimeSchedule

public void gotDowntimeSchedule(java.lang.String schedule)
Specified by:
gotDowntimeSchedule in interface TwitterListener

onException

public void onException(TwitterException ex,
                        int method)
Specified by:
onException in interface TwitterListener
Parameters:
ex - TwitterException
method - int