twitter4j
Class TwitterMethod

java.lang.Object
  extended by twitter4j.TwitterMethod
All Implemented Interfaces:
java.io.Serializable

public final class TwitterMethod
extends java.lang.Object
implements java.io.Serializable

Author:
Yusuke Yamamoto - yusuke at mac.com
See Also:
Serialized Form

Field Summary
static TwitterMethod ACCOUNT_SETTINGS
           
static TwitterMethod ACCOUNT_TOTALS
           
static TwitterMethod ADD_LIST_MEMBER
           
static TwitterMethod ADD_LIST_MEMBERS
           
static TwitterMethod ALL_USER_LISTS
           
static TwitterMethod AVAILABLE_TRENDS
           
static TwitterMethod BLOCKING_USERS
           
static TwitterMethod BLOCKING_USERS_IDS
           
static TwitterMethod CHECK_LIST_MEMBERSHIP
           
static TwitterMethod CHECK_LIST_SUBSCRIPTION
           
static TwitterMethod CREATE_BLOCK
           
static TwitterMethod CREATE_FAVORITE
           
static TwitterMethod CREATE_FRIENDSHIP
           
static TwitterMethod CREATE_PLACE
           
static TwitterMethod CREATE_USER_LIST
           
static TwitterMethod CURRENT_TRENDS
           
static TwitterMethod DAILY_TRENDS
           
static TwitterMethod DELETE_LIST_MEMBER
           
static TwitterMethod DESTROY_BLOCK
           
static TwitterMethod DESTROY_DIRECT_MESSAGE
           
static TwitterMethod DESTROY_FAVORITE
           
static TwitterMethod DESTROY_FRIENDSHIP
           
static TwitterMethod DESTROY_STATUS
           
static TwitterMethod DESTROY_USER_LIST
           
static TwitterMethod DIRECT_MESSAGE
           
static TwitterMethod DIRECT_MESSAGES
           
static TwitterMethod DISABLE_NOTIFICATION
           
static TwitterMethod ENABLE_NOTIFICATION
           
static TwitterMethod EXISTS_BLOCK
           
static TwitterMethod EXISTS_FRIENDSHIP
           
static TwitterMethod FAVORITES
           
static TwitterMethod FOLLOWERS_IDS
           
static TwitterMethod FOLLOWERS_STATUSES
           
static TwitterMethod FRIENDS_IDS
           
static TwitterMethod FRIENDS_STATUSES
           
static TwitterMethod FRIENDS_TIMELINE
           
static TwitterMethod GEO_DETAILS
           
static TwitterMethod HOME_TIMELINE
           
static TwitterMethod INCOMING_FRIENDSHIPS
           
private static java.util.Map<java.lang.String,TwitterMethod> instances
           
static TwitterMethod LIST_MEMBERS
           
static TwitterMethod LIST_SUBSCRIBERS
           
static TwitterMethod LOCATION_TRENDS
           
static TwitterMethod LOOKUP_FRIENDSHIPS
           
static TwitterMethod LOOKUP_USERS
           
static TwitterMethod MEMBER_SUGGESTIONS
           
static TwitterMethod MENTIONS
           
(package private)  java.lang.String name
           
static TwitterMethod NEAR_BY_PLACES
           
static TwitterMethod OUTGOING_FRIENDSHIPS
           
static TwitterMethod PRIVACY_POLICY
           
static TwitterMethod PROFILE_IMAGE
           
static TwitterMethod PUBLIC_TIMELINE
           
static TwitterMethod RATE_LIMIT_STATUS
           
static TwitterMethod RELATED_RESULTS
           
static TwitterMethod REPORT_SPAM
           
static TwitterMethod RETWEET_STATUS
           
static TwitterMethod RETWEETED_BY
           
static TwitterMethod RETWEETED_BY_IDS
           
static TwitterMethod RETWEETED_BY_ME
           
static TwitterMethod RETWEETED_BY_USER
           
static TwitterMethod RETWEETED_TO_ME
           
static TwitterMethod RETWEETED_TO_USER
           
static TwitterMethod RETWEETS
           
static TwitterMethod RETWEETS_OF_ME
           
static TwitterMethod REVERSE_GEO_CODE
           
static TwitterMethod SEARCH
           
static TwitterMethod SEARCH_PLACES
           
static TwitterMethod SEARCH_USERS
           
static TwitterMethod SEND_DIRECT_MESSAGE
           
static TwitterMethod SENT_DIRECT_MESSAGES
           
private static long serialVersionUID
           
static TwitterMethod SHOW_FRIENDSHIP
           
static TwitterMethod SHOW_STATUS
           
static TwitterMethod SHOW_USER
           
static TwitterMethod SHOW_USER_LIST
           
static TwitterMethod SIMILAR_PLACES
           
static TwitterMethod SUBSCRIBE_LIST
           
static TwitterMethod SUGGESTED_USER_CATEGORIES
           
static TwitterMethod TERMS_OF_SERVICE
           
static TwitterMethod TEST
           
static TwitterMethod TRENDS
           
static TwitterMethod UNSUBSCRIBE_LIST
           
static TwitterMethod UPDATE_FRIENDSHIP
           
static TwitterMethod UPDATE_PROFILE
           
static TwitterMethod UPDATE_PROFILE_BACKGROUND_IMAGE
           
static TwitterMethod UPDATE_PROFILE_COLORS
           
static TwitterMethod UPDATE_PROFILE_IMAGE
           
static TwitterMethod UPDATE_STATUS
           
static TwitterMethod UPDATE_USER_LIST
           
static TwitterMethod USER_LIST_MEMBERSHIPS
           
static TwitterMethod USER_LIST_STATUSES
           
static TwitterMethod USER_LIST_SUBSCRIPTIONS
           
static TwitterMethod USER_LISTS
           
static TwitterMethod USER_SUGGESTIONS
           
static TwitterMethod USER_TIMELINE
           
static TwitterMethod VERIFY_CREDENTIALS
           
static TwitterMethod WEEKLY_TRENDS
           
 
Constructor Summary
private TwitterMethod()
           
private TwitterMethod(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
private static TwitterMethod getInstance(java.lang.String name)
           
 int hashCode()
           
 java.lang.String name()
           
private  java.lang.Object readResolve()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

java.lang.String name

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

instances

private static final java.util.Map<java.lang.String,TwitterMethod> instances

SEARCH

public static final TwitterMethod SEARCH

TRENDS

public static final TwitterMethod TRENDS

CURRENT_TRENDS

public static final TwitterMethod CURRENT_TRENDS

DAILY_TRENDS

public static final TwitterMethod DAILY_TRENDS

WEEKLY_TRENDS

public static final TwitterMethod WEEKLY_TRENDS

PUBLIC_TIMELINE

public static final TwitterMethod PUBLIC_TIMELINE

HOME_TIMELINE

public static final TwitterMethod HOME_TIMELINE

FRIENDS_TIMELINE

public static final TwitterMethod FRIENDS_TIMELINE

USER_TIMELINE

public static final TwitterMethod USER_TIMELINE

MENTIONS

public static final TwitterMethod MENTIONS

RETWEETED_BY_ME

public static final TwitterMethod RETWEETED_BY_ME

RETWEETED_TO_ME

public static final TwitterMethod RETWEETED_TO_ME

RETWEETS_OF_ME

public static final TwitterMethod RETWEETS_OF_ME

RETWEETED_BY_USER

public static final TwitterMethod RETWEETED_BY_USER

RETWEETED_TO_USER

public static final TwitterMethod RETWEETED_TO_USER

SHOW_STATUS

public static final TwitterMethod SHOW_STATUS

UPDATE_STATUS

public static final TwitterMethod UPDATE_STATUS

DESTROY_STATUS

public static final TwitterMethod DESTROY_STATUS

RETWEET_STATUS

public static final TwitterMethod RETWEET_STATUS

RETWEETS

public static final TwitterMethod RETWEETS

RETWEETED_BY

public static final TwitterMethod RETWEETED_BY

RETWEETED_BY_IDS

public static final TwitterMethod RETWEETED_BY_IDS

SHOW_USER

public static final TwitterMethod SHOW_USER

LOOKUP_USERS

public static final TwitterMethod LOOKUP_USERS

SEARCH_USERS

public static final TwitterMethod SEARCH_USERS

SUGGESTED_USER_CATEGORIES

public static final TwitterMethod SUGGESTED_USER_CATEGORIES

PROFILE_IMAGE

public static final TwitterMethod PROFILE_IMAGE

USER_SUGGESTIONS

public static final TwitterMethod USER_SUGGESTIONS

MEMBER_SUGGESTIONS

public static final TwitterMethod MEMBER_SUGGESTIONS

FRIENDS_STATUSES

public static final TwitterMethod FRIENDS_STATUSES

FOLLOWERS_STATUSES

public static final TwitterMethod FOLLOWERS_STATUSES

CREATE_USER_LIST

public static final TwitterMethod CREATE_USER_LIST

UPDATE_USER_LIST

public static final TwitterMethod UPDATE_USER_LIST

USER_LISTS

public static final TwitterMethod USER_LISTS

SHOW_USER_LIST

public static final TwitterMethod SHOW_USER_LIST

DESTROY_USER_LIST

public static final TwitterMethod DESTROY_USER_LIST

USER_LIST_STATUSES

public static final TwitterMethod USER_LIST_STATUSES

USER_LIST_MEMBERSHIPS

public static final TwitterMethod USER_LIST_MEMBERSHIPS

USER_LIST_SUBSCRIPTIONS

public static final TwitterMethod USER_LIST_SUBSCRIPTIONS

ALL_USER_LISTS

public static final TwitterMethod ALL_USER_LISTS

LIST_MEMBERS

public static final TwitterMethod LIST_MEMBERS

ADD_LIST_MEMBER

public static final TwitterMethod ADD_LIST_MEMBER

ADD_LIST_MEMBERS

public static final TwitterMethod ADD_LIST_MEMBERS

DELETE_LIST_MEMBER

public static final TwitterMethod DELETE_LIST_MEMBER

CHECK_LIST_MEMBERSHIP

public static final TwitterMethod CHECK_LIST_MEMBERSHIP

LIST_SUBSCRIBERS

public static final TwitterMethod LIST_SUBSCRIBERS

SUBSCRIBE_LIST

public static final TwitterMethod SUBSCRIBE_LIST

UNSUBSCRIBE_LIST

public static final TwitterMethod UNSUBSCRIBE_LIST

CHECK_LIST_SUBSCRIPTION

public static final TwitterMethod CHECK_LIST_SUBSCRIPTION

DIRECT_MESSAGES

public static final TwitterMethod DIRECT_MESSAGES

SENT_DIRECT_MESSAGES

public static final TwitterMethod SENT_DIRECT_MESSAGES

SEND_DIRECT_MESSAGE

public static final TwitterMethod SEND_DIRECT_MESSAGE

DESTROY_DIRECT_MESSAGE

public static final TwitterMethod DESTROY_DIRECT_MESSAGE

DIRECT_MESSAGE

public static final TwitterMethod DIRECT_MESSAGE

CREATE_FRIENDSHIP

public static final TwitterMethod CREATE_FRIENDSHIP

DESTROY_FRIENDSHIP

public static final TwitterMethod DESTROY_FRIENDSHIP

EXISTS_FRIENDSHIP

public static final TwitterMethod EXISTS_FRIENDSHIP

SHOW_FRIENDSHIP

public static final TwitterMethod SHOW_FRIENDSHIP

INCOMING_FRIENDSHIPS

public static final TwitterMethod INCOMING_FRIENDSHIPS

OUTGOING_FRIENDSHIPS

public static final TwitterMethod OUTGOING_FRIENDSHIPS

LOOKUP_FRIENDSHIPS

public static final TwitterMethod LOOKUP_FRIENDSHIPS

UPDATE_FRIENDSHIP

public static final TwitterMethod UPDATE_FRIENDSHIP

FRIENDS_IDS

public static final TwitterMethod FRIENDS_IDS

FOLLOWERS_IDS

public static final TwitterMethod FOLLOWERS_IDS

VERIFY_CREDENTIALS

public static final TwitterMethod VERIFY_CREDENTIALS

RATE_LIMIT_STATUS

public static final TwitterMethod RATE_LIMIT_STATUS

UPDATE_PROFILE_COLORS

public static final TwitterMethod UPDATE_PROFILE_COLORS

UPDATE_PROFILE_IMAGE

public static final TwitterMethod UPDATE_PROFILE_IMAGE

UPDATE_PROFILE_BACKGROUND_IMAGE

public static final TwitterMethod UPDATE_PROFILE_BACKGROUND_IMAGE

UPDATE_PROFILE

public static final TwitterMethod UPDATE_PROFILE

ACCOUNT_TOTALS

public static final TwitterMethod ACCOUNT_TOTALS

ACCOUNT_SETTINGS

public static final TwitterMethod ACCOUNT_SETTINGS

FAVORITES

public static final TwitterMethod FAVORITES

CREATE_FAVORITE

public static final TwitterMethod CREATE_FAVORITE

DESTROY_FAVORITE

public static final TwitterMethod DESTROY_FAVORITE

ENABLE_NOTIFICATION

public static final TwitterMethod ENABLE_NOTIFICATION

DISABLE_NOTIFICATION

public static final TwitterMethod DISABLE_NOTIFICATION

CREATE_BLOCK

public static final TwitterMethod CREATE_BLOCK

DESTROY_BLOCK

public static final TwitterMethod DESTROY_BLOCK

EXISTS_BLOCK

public static final TwitterMethod EXISTS_BLOCK

BLOCKING_USERS

public static final TwitterMethod BLOCKING_USERS

BLOCKING_USERS_IDS

public static final TwitterMethod BLOCKING_USERS_IDS

REPORT_SPAM

public static final TwitterMethod REPORT_SPAM

AVAILABLE_TRENDS

public static final TwitterMethod AVAILABLE_TRENDS

LOCATION_TRENDS

public static final TwitterMethod LOCATION_TRENDS

SEARCH_PLACES

public static final TwitterMethod SEARCH_PLACES

SIMILAR_PLACES

public static final TwitterMethod SIMILAR_PLACES

NEAR_BY_PLACES

public static final TwitterMethod NEAR_BY_PLACES

REVERSE_GEO_CODE

public static final TwitterMethod REVERSE_GEO_CODE

GEO_DETAILS

public static final TwitterMethod GEO_DETAILS

CREATE_PLACE

public static final TwitterMethod CREATE_PLACE

TERMS_OF_SERVICE

public static final TwitterMethod TERMS_OF_SERVICE

PRIVACY_POLICY

public static final TwitterMethod PRIVACY_POLICY

RELATED_RESULTS

public static final TwitterMethod RELATED_RESULTS

TEST

public static final TwitterMethod TEST
Constructor Detail

TwitterMethod

private TwitterMethod()

TwitterMethod

private TwitterMethod(java.lang.String name)
Method Detail

name

public final java.lang.String name()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getInstance

private static TwitterMethod getInstance(java.lang.String name)

readResolve

private java.lang.Object readResolve()
                              throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException