public class GeneralJSONTweet4jStatus extends GeneralJSON
Status
instances into USMFStatus
instances such that
the statuses can be used in the TwitterPreprocessingMode
and other
twitter preprocessing librariesanalysis, gson
Constructor and Description |
---|
GeneralJSONTweet4jStatus(twitter4j.Status status) |
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 GeneralJSONTweet4jStatus(twitter4j.Status status)
status
- public void readASCII(Scanner in) throws IOException
ReadableASCII
in
- source to read from.IOException
- an error reading inputpublic 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 GeneralJSON instanceFromString(String line)
instanceFromString
in class GeneralJSON