public class GeneralJSONTwitter extends GeneralJSON
Modifier and Type | Field and Description |
---|---|
Object |
coordinates |
String |
created_at |
Map<String,List<Map<String,Object>>> |
entities |
Object |
geo |
long |
id |
String |
id_str |
String |
in_reply_to_screen_name |
double |
in_reply_to_status_id |
double |
in_reply_to_user_id |
Map<String,Object> |
place |
String |
retweet_count
This is a string because sometimes retweet_count can look like: "100+"
|
boolean |
retweeted |
GeneralJSONTwitter |
retweeted_status
New style retweets
|
String |
s |
String |
source |
String |
text |
boolean |
truncated |
Map<String,Object> |
user |
analysis, gson
Constructor and Description |
---|
GeneralJSONTwitter() |
Modifier and Type | Method and Description |
---|---|
void |
fillUSMF(USMFStatus status)
This is the method that will be called by USMFStatus to fill itself with
the matching values from the extending class.
|
void |
fromUSMF(USMFStatus status)
This is the method that will be called to allow this object
to fill itself from a USMF object.
|
GeneralJSON |
instanceFromString(String line) |
void |
readASCII(Scanner in)
Read internal state from in.
|
addAnalysis, analysisToJSON, asciiHeader, binaryHeader, fillAnalysis, getAnalysis, readBinary, writeASCII, writeASCIIAnalysis, writeASCIIAnalysis, writeBinary
public GeneralJSONTwitter retweeted_status
public String retweet_count
public String in_reply_to_screen_name
public Object coordinates
public boolean retweeted
public double in_reply_to_status_id
public double in_reply_to_user_id
public boolean truncated
public long id
public String created_at
public GeneralJSONTwitter()
public void fillUSMF(USMFStatus status)
GeneralJSON
fillUSMF
in class GeneralJSON
status
- = USMFStatus to be filledpublic void fromUSMF(USMFStatus status)
GeneralJSON
fromUSMF
in class GeneralJSON
status
- = USMFStatus to be filledpublic void readASCII(Scanner in) throws IOException
ReadableASCII
in
- source to read from.IOException
- an error reading inputpublic GeneralJSON instanceFromString(String line)
instanceFromString
in class GeneralJSON