Package twitter4j

Interface Summary
Category  
CursorSupport  
DirectMessage A data interface representing sent/received direct message.
IDs A data interface representing array of numeric IDs.
Location  
Place  
QueryResult A data interface representing search API response
RateLimitStatus A data interface representing Twitter REST API's rate limit status
RateLimitStatusListener  
Relationship A data interface that has detailed information about a relationship between two users
SavedSearch A data interface representing a Saved Search
Status A data interface representing one single status of a user.
StatusListener  
Trend A data interface representing Trend.
Trends A data class representing Trends.
Tweet A data class representing a Tweet in the search response
TwitterListener A listner for receiving asynchronous responses from Twitter Async APIs.
TwitterResponse Super interface of Twitter Response data interfaces which indicates that rate limit status is avaialble.
User A data interface representing Basic user information element
UserList A data interface representing Basic list information element
 

Class Summary
AsyncTwitter Twitter API with a series of asynchronous APIs.
With this class, you can call TwitterAPI asynchronously.
Note that currently this class is NOT compatible with Google App Engine as it is maintaining threads internally.
AsyncTwitterFactory A factory class for AsyncTwitter.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that currently AsyncTwitter is NOT compatible with Google App Engine as it is maintaining threads internally.
CategoryJSONImpl  
Device  
GeoLocation A data class representing geo location.
GeoQuery  
PagableResponseList<T extends TwitterResponse> ResponseList with cursor support.
Paging Controls pagination.
It is possible to use the same Paging instance in a multi-threaded context only if the instance is treated immutably.
But basically instance of this class is NOT thread safe.
PlaceJSONImpl  
Query A data class represents search query.
An instance of this class is NOT thread safe.
Instances can be shared across threads, but should not be mutated while a search is ongoing.
RateLimitStatusEvent A data interface representing Twitter REST API's rate limit status
ResponseList<T> List of TwitterResponse.
StatusDeletionNotice A data class representing Status deletionNotice
Clients are urged to honor deletionNotice requests and discard deleted statuses immediately.
StatusStream  
StatusUpdate  
TimeSpanUtil  
Twitter A java representation of the Twitter API
This class is thread safe and can be cached/re-used and used concurrently.
TwitterAdapter A handy adapter of TwitterListener.
TwitterFactory A factory class for Twitter.
TwitterMethod  
TwitterStream A java reporesentation of the Twitter Streaming API
Note that this class is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
TwitterStreamFactory A factory class for TwitterFactory.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that TwitterStream is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
Version  
 

Exception Summary
TwitterException An exception class that will be thrown when TwitterAPI calls are failed.
In case the Twitter server returned HTTP error code, you can get the HTTP status code using getStatusCode() method.
 



Copyright © 2010. All Rights Reserved.