twitter4j.internal.json
Class z_T4JInternalJSONImplFactory
java.lang.Object
twitter4j.internal.json.z_T4JInternalJSONImplFactory
- All Implemented Interfaces:
- Serializable, z_T4JInternalFactory
public class z_T4JInternalJSONImplFactory
- extends Object
- implements z_T4JInternalFactory
- Since:
- Twitter4J 2.2.4
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
|
Method Summary |
AccountSettings |
createAccountSettings(HttpResponse res)
|
AccountTotals |
createAccountTotals(HttpResponse res)
|
UserList |
createAUserList(HttpResponse res)
|
UserList |
createAUserList(JSONObject json)
|
ResponseList<Category> |
createCategoryList(HttpResponse res)
|
DirectMessage |
createDirectMessage(HttpResponse res)
|
DirectMessage |
createDirectMessage(JSONObject json)
|
ResponseList<DirectMessage> |
createDirectMessageList(HttpResponse res)
|
|
createEmptyResponseList()
|
static RateLimitStatus |
createFeatureSpecificRateLimitStatusFromResponseHeader(HttpResponse res)
|
ResponseList<Friendship> |
createFriendshipList(HttpResponse res)
|
static HashtagEntity |
createHashtagEntity(int start,
int end,
String text)
static factory method for twitter-text-java |
IDs |
createIDs(HttpResponse res)
|
ResponseList<HelpMethods.Language> |
createLanguageList(HttpResponse res)
|
ResponseList<Location> |
createLocationList(HttpResponse res)
|
PagableResponseList<User> |
createPagableUserList(HttpResponse res)
|
PagableResponseList<UserList> |
createPagableUserListList(HttpResponse res)
|
Place |
createPlace(HttpResponse res)
|
ResponseList<Place> |
createPlaceList(HttpResponse res)
|
ProfileImage |
createProfileImage(HttpResponse res)
|
QueryResult |
createQueryResult(HttpResponse res,
Query query)
|
RateLimitStatus |
createRateLimitStatus(HttpResponse res)
|
static RateLimitStatus |
createRateLimitStatusFromResponseHeader(HttpResponse res)
|
RelatedResults |
createRelatedResults(HttpResponse res)
|
Relationship |
createRelationship(HttpResponse res)
|
SavedSearch |
createSavedSearch(HttpResponse res)
|
ResponseList<SavedSearch> |
createSavedSearchList(HttpResponse res)
|
SimilarPlaces |
createSimilarPlaces(HttpResponse res)
|
Status |
createStatus(HttpResponse res)
|
Status |
createStatus(JSONObject json)
|
ResponseList<Status> |
createStatusList(HttpResponse res)
|
Trends |
createTrends(HttpResponse res)
|
ResponseList<Trends> |
createTrendsList(HttpResponse res)
|
TwitterAPIConfiguration |
createTwitterAPIConfiguration(HttpResponse res)
|
static URLEntity |
createUrlEntity(int start,
int end,
String url,
String expandedURL,
String displayURL)
static factory method for twitter-text-java |
User |
createUser(HttpResponse res)
|
User |
createUser(JSONObject json)
|
ResponseList<User> |
createUserList(HttpResponse res)
|
ResponseList<User> |
createUserListFromJSONArray_Users(HttpResponse res)
|
ResponseList<User> |
createUserListFromJSONArray(HttpResponse res)
|
ResponseList<UserList> |
createUserListList(HttpResponse res)
|
static UserMentionEntity |
createUserMentionEntity(int start,
int end,
String name,
String screenName,
long id)
static factory method for twitter-text-java |
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
z_T4JInternalJSONImplFactory
public z_T4JInternalJSONImplFactory(Configuration conf)
createStatus
public Status createStatus(JSONObject json)
throws TwitterException
- Specified by:
createStatus in interface z_T4JInternalFactory
- Throws:
TwitterException
createUser
public User createUser(JSONObject json)
throws TwitterException
- Specified by:
createUser in interface z_T4JInternalFactory
- Throws:
TwitterException
createAUserList
public UserList createAUserList(JSONObject json)
throws TwitterException
- Specified by:
createAUserList in interface z_T4JInternalFactory
- Throws:
TwitterException
createDirectMessage
public DirectMessage createDirectMessage(JSONObject json)
throws TwitterException
- Specified by:
createDirectMessage in interface z_T4JInternalFactory
- Throws:
TwitterException
createRateLimitStatus
public RateLimitStatus createRateLimitStatus(HttpResponse res)
throws TwitterException
- Specified by:
createRateLimitStatus in interface z_T4JInternalFactory
- Throws:
TwitterException
createStatus
public Status createStatus(HttpResponse res)
throws TwitterException
- Specified by:
createStatus in interface z_T4JInternalFactory
- Throws:
TwitterException
createStatusList
public ResponseList<Status> createStatusList(HttpResponse res)
throws TwitterException
- Specified by:
createStatusList in interface z_T4JInternalFactory
- Throws:
TwitterException
createRateLimitStatusFromResponseHeader
public static RateLimitStatus createRateLimitStatusFromResponseHeader(HttpResponse res)
createFeatureSpecificRateLimitStatusFromResponseHeader
public static RateLimitStatus createFeatureSpecificRateLimitStatusFromResponseHeader(HttpResponse res)
createTrends
public Trends createTrends(HttpResponse res)
throws TwitterException
- Specified by:
createTrends in interface z_T4JInternalFactory
- Throws:
TwitterException
createTrendsList
public ResponseList<Trends> createTrendsList(HttpResponse res)
throws TwitterException
- Specified by:
createTrendsList in interface z_T4JInternalFactory
- Throws:
TwitterException
createUser
public User createUser(HttpResponse res)
throws TwitterException
- Specified by:
createUser in interface z_T4JInternalFactory
- Throws:
TwitterException
createUserList
public ResponseList<User> createUserList(HttpResponse res)
throws TwitterException
- Specified by:
createUserList in interface z_T4JInternalFactory
- Throws:
TwitterException
createUserListFromJSONArray
public ResponseList<User> createUserListFromJSONArray(HttpResponse res)
throws TwitterException
- Specified by:
createUserListFromJSONArray in interface z_T4JInternalFactory
- Throws:
TwitterException
createUserListFromJSONArray_Users
public ResponseList<User> createUserListFromJSONArray_Users(HttpResponse res)
throws TwitterException
- Specified by:
createUserListFromJSONArray_Users in interface z_T4JInternalFactory
- Throws:
TwitterException
createQueryResult
public QueryResult createQueryResult(HttpResponse res,
Query query)
throws TwitterException
- Specified by:
createQueryResult in interface z_T4JInternalFactory
- Throws:
TwitterException
createIDs
public IDs createIDs(HttpResponse res)
throws TwitterException
- Specified by:
createIDs in interface z_T4JInternalFactory
- Throws:
TwitterException
createPagableUserList
public PagableResponseList<User> createPagableUserList(HttpResponse res)
throws TwitterException
- Specified by:
createPagableUserList in interface z_T4JInternalFactory
- Throws:
TwitterException
createAUserList
public UserList createAUserList(HttpResponse res)
throws TwitterException
- Specified by:
createAUserList in interface z_T4JInternalFactory
- Throws:
TwitterException
createPagableUserListList
public PagableResponseList<UserList> createPagableUserListList(HttpResponse res)
throws TwitterException
- Specified by:
createPagableUserListList in interface z_T4JInternalFactory
- Throws:
TwitterException
createUserListList
public ResponseList<UserList> createUserListList(HttpResponse res)
throws TwitterException
- Specified by:
createUserListList in interface z_T4JInternalFactory
- Throws:
TwitterException
createCategoryList
public ResponseList<Category> createCategoryList(HttpResponse res)
throws TwitterException
- Specified by:
createCategoryList in interface z_T4JInternalFactory
- Throws:
TwitterException
createProfileImage
public ProfileImage createProfileImage(HttpResponse res)
throws TwitterException
- Specified by:
createProfileImage in interface z_T4JInternalFactory
- Throws:
TwitterException
createDirectMessage
public DirectMessage createDirectMessage(HttpResponse res)
throws TwitterException
- Specified by:
createDirectMessage in interface z_T4JInternalFactory
- Throws:
TwitterException
createDirectMessageList
public ResponseList<DirectMessage> createDirectMessageList(HttpResponse res)
throws TwitterException
- Specified by:
createDirectMessageList in interface z_T4JInternalFactory
- Throws:
TwitterException
createRelationship
public Relationship createRelationship(HttpResponse res)
throws TwitterException
- Specified by:
createRelationship in interface z_T4JInternalFactory
- Throws:
TwitterException
createFriendshipList
public ResponseList<Friendship> createFriendshipList(HttpResponse res)
throws TwitterException
- Specified by:
createFriendshipList in interface z_T4JInternalFactory
- Throws:
TwitterException
createAccountTotals
public AccountTotals createAccountTotals(HttpResponse res)
throws TwitterException
- Specified by:
createAccountTotals in interface z_T4JInternalFactory
- Throws:
TwitterException
createAccountSettings
public AccountSettings createAccountSettings(HttpResponse res)
throws TwitterException
- Specified by:
createAccountSettings in interface z_T4JInternalFactory
- Throws:
TwitterException
createSavedSearch
public SavedSearch createSavedSearch(HttpResponse res)
throws TwitterException
- Specified by:
createSavedSearch in interface z_T4JInternalFactory
- Throws:
TwitterException
createSavedSearchList
public ResponseList<SavedSearch> createSavedSearchList(HttpResponse res)
throws TwitterException
- Specified by:
createSavedSearchList in interface z_T4JInternalFactory
- Throws:
TwitterException
createLocationList
public ResponseList<Location> createLocationList(HttpResponse res)
throws TwitterException
- Specified by:
createLocationList in interface z_T4JInternalFactory
- Throws:
TwitterException
createPlace
public Place createPlace(HttpResponse res)
throws TwitterException
- Specified by:
createPlace in interface z_T4JInternalFactory
- Throws:
TwitterException
createPlaceList
public ResponseList<Place> createPlaceList(HttpResponse res)
throws TwitterException
- Specified by:
createPlaceList in interface z_T4JInternalFactory
- Throws:
TwitterException
createSimilarPlaces
public SimilarPlaces createSimilarPlaces(HttpResponse res)
throws TwitterException
- Specified by:
createSimilarPlaces in interface z_T4JInternalFactory
- Throws:
TwitterException
createRelatedResults
public RelatedResults createRelatedResults(HttpResponse res)
throws TwitterException
- Specified by:
createRelatedResults in interface z_T4JInternalFactory
- Throws:
TwitterException
createTwitterAPIConfiguration
public TwitterAPIConfiguration createTwitterAPIConfiguration(HttpResponse res)
throws TwitterException
- Specified by:
createTwitterAPIConfiguration in interface z_T4JInternalFactory
- Throws:
TwitterException
createLanguageList
public ResponseList<HelpMethods.Language> createLanguageList(HttpResponse res)
throws TwitterException
- Specified by:
createLanguageList in interface z_T4JInternalFactory
- Throws:
TwitterException
createEmptyResponseList
public <T> ResponseList<T> createEmptyResponseList()
- Specified by:
createEmptyResponseList in interface z_T4JInternalFactory
createHashtagEntity
public static HashtagEntity createHashtagEntity(int start,
int end,
String text)
- static factory method for twitter-text-java
- Returns:
- hashtag entity
- Since:
- Twitter4J 2.2.6
createUserMentionEntity
public static UserMentionEntity createUserMentionEntity(int start,
int end,
String name,
String screenName,
long id)
- static factory method for twitter-text-java
- Returns:
- user mention entity
- Since:
- Twitter4J 2.2.6
createUrlEntity
public static URLEntity createUrlEntity(int start,
int end,
String url,
String expandedURL,
String displayURL)
- static factory method for twitter-text-java
- Returns:
- url entity
- Since:
- Twitter4J 2.2.6
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.