public class JSONObjectParser extends Object
| Constructor and Description |
|---|
JSONObjectParser() |
| Modifier and Type | Method and Description |
|---|---|
static twitter4j.JSONObject |
getSitestreamMessage(twitter4j.JSONObject envelope) |
static long |
getSitestreamUser(twitter4j.JSONObject envelope) |
static String |
getStreamId(twitter4j.JSONObject message) |
static boolean |
hasSitestreamMessage(twitter4j.JSONObject envelope) |
static boolean |
hasSitestreamUser(twitter4j.JSONObject envelope) |
static boolean |
isControlStreamMessage(twitter4j.JSONObject message) |
static boolean |
isDisconnectMessage(twitter4j.JSONObject message)
Deprecated.
|
static boolean |
isRetweetMessage(twitter4j.JSONObject message) |
static DisconnectMessage |
parseDisconnectMessage(twitter4j.JSONObject message) |
static twitter4j.JSONObject |
parseEventSource(twitter4j.JSONObject json) |
static twitter4j.JSONObject |
parseEventTarget(twitter4j.JSONObject json) |
static twitter4j.JSONObject |
parseEventTargetObject(twitter4j.JSONObject json) |
static long[] |
parseFriendList(twitter4j.JSONObject json) |
static twitter4j.StatusDeletionNotice |
parseStatusDelete(twitter4j.JSONObject json) |
static int |
parseTrackLimit(twitter4j.JSONObject json) |
public static twitter4j.StatusDeletionNotice parseStatusDelete(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static int parseTrackLimit(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static twitter4j.JSONObject parseEventSource(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static twitter4j.JSONObject parseEventTarget(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static twitter4j.JSONObject parseEventTargetObject(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static long[] parseFriendList(twitter4j.JSONObject json)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static boolean hasSitestreamUser(twitter4j.JSONObject envelope)
public static long getSitestreamUser(twitter4j.JSONObject envelope)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static boolean hasSitestreamMessage(twitter4j.JSONObject envelope)
public static twitter4j.JSONObject getSitestreamMessage(twitter4j.JSONObject envelope)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static boolean isControlStreamMessage(twitter4j.JSONObject message)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static String getStreamId(twitter4j.JSONObject message) throws twitter4j.JSONException
twitter4j.JSONException@Deprecated public static boolean isDisconnectMessage(twitter4j.JSONObject message)
public static boolean isRetweetMessage(twitter4j.JSONObject message)
throws twitter4j.JSONException
twitter4j.JSONExceptionpublic static DisconnectMessage parseDisconnectMessage(twitter4j.JSONObject message) throws twitter4j.JSONException
twitter4j.JSONExceptionCopyright © 2014. All Rights Reserved.