public final class JSONObjectType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static JSONObjectType |
BLOCK |
static JSONObjectType |
DELETE |
static JSONObjectType |
DIRECT_MESSAGE |
static JSONObjectType |
FAVORITE |
static JSONObjectType |
FOLLOW |
static JSONObjectType |
FRIENDS |
static JSONObjectType |
LIMIT |
private static twitter4j.internal.logging.Logger |
logger |
private java.lang.String |
name |
static JSONObjectType |
RETWEET |
static JSONObjectType |
SCRUB_GEO |
static JSONObjectType |
SENDER |
private static long |
serialVersionUID |
static JSONObjectType |
STATUS |
static JSONObjectType |
UNBLOCK |
static JSONObjectType |
UNFAVORITE |
static JSONObjectType |
USER_LIST_CREATED |
static JSONObjectType |
USER_LIST_DESTROYED |
static JSONObjectType |
USER_LIST_SUBSCRIBED |
static JSONObjectType |
USER_LIST_UPDATED |
static JSONObjectType |
USER_UPDATE |
Modifier | Constructor and Description |
---|---|
private |
JSONObjectType() |
private |
JSONObjectType(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static JSONObjectType |
determine(twitter4j.internal.org.json.JSONObject json)
Determine the respective object type for a given JSONObject.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName() |
int |
hashCode() |
java.lang.String |
toString() |
private static final twitter4j.internal.logging.Logger logger
public static final JSONObjectType SENDER
public static final JSONObjectType STATUS
public static final JSONObjectType DIRECT_MESSAGE
public static final JSONObjectType DELETE
public static final JSONObjectType LIMIT
public static final JSONObjectType SCRUB_GEO
public static final JSONObjectType FRIENDS
public static final JSONObjectType FAVORITE
public static final JSONObjectType UNFAVORITE
public static final JSONObjectType RETWEET
public static final JSONObjectType FOLLOW
public static final JSONObjectType USER_LIST_SUBSCRIBED
public static final JSONObjectType USER_LIST_CREATED
public static final JSONObjectType USER_LIST_UPDATED
public static final JSONObjectType USER_LIST_DESTROYED
public static final JSONObjectType USER_UPDATE
public static final JSONObjectType BLOCK
public static final JSONObjectType UNBLOCK
private static final long serialVersionUID
private final java.lang.String name
private JSONObjectType()
private JSONObjectType(java.lang.String name)
public java.lang.String getName()
public static JSONObjectType determine(twitter4j.internal.org.json.JSONObject json)
json
- the JSONObject whose type should be determinedpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object