Modifier and Type | Method and Description |
---|---|
abstract void |
TwitterOutputMode.output(GeneralJSON twitterStatus,
PrintWriter outputWriter)
Output a tweet to a printwriter
|
void |
AnalysisOutputMode.output(GeneralJSON twitterStatus,
PrintWriter outputWriter) |
void |
SelectiveAnalysisOutputMode.output(GeneralJSON twitterStatus,
PrintWriter outputWriter) |
void |
SelectiveAnalysisTwitterOutputMode.output(GeneralJSON twitterStatus,
PrintWriter outputWriter) |
Modifier and Type | Method and Description |
---|---|
GeneralJSON |
AbstractTwitterPreprocessingToolOptions.convertToOutputFormat(USMFStatus twitterStatus)
Provides the functionality to convert to the required output format as
specified by -ot
|
Modifier and Type | Method and Description |
---|---|
abstract Class<? extends GeneralJSON> |
StatusType.type() |
Modifier and Type | Class and Description |
---|---|
class |
GeneralJSONRDF
Holds an internal Jena Graph of the USMF status.
|
class |
GeneralJSONTwitter
GeneralJSONTwitter extends GeneralJSON to provide an object that GSon can
fill from a twitter json string.
|
class |
GeneralJSONTwitterRawText
GeneralJSONTwitterRawText extends GeneralJSONTwitter to provide an object that can
read raw strings. |
class |
USMFStatus
A USMFstatus.
|
Modifier and Type | Method and Description |
---|---|
GeneralJSON |
GeneralJSONTwitterRawText.instanceFromString(String line) |
GeneralJSON |
GeneralJSONRDF.instanceFromString(String line) |
abstract GeneralJSON |
GeneralJSON.instanceFromString(String line) |
GeneralJSON |
GeneralJSONTwitter.instanceFromString(String line) |
GeneralJSON |
USMFStatus.instanceFromString(String line) |
Modifier and Type | Method and Description |
---|---|
Class<? extends GeneralJSON> |
USMFStatus.getGeneralJSONClass() |
Modifier and Type | Method and Description |
---|---|
void |
RDFAnalysisProvider.addAnalysis(com.hp.hpl.jena.rdf.model.Model m,
com.hp.hpl.jena.rdf.model.Resource analysis,
GeneralJSON analysisSource)
When given this analysis, fill the model with triples representing its
existence.
|
void |
GeneralJSON.fillAnalysis(GeneralJSON other) |
Modifier and Type | Method and Description |
---|---|
void |
USMFStatus.setGeneralJSONClass(Class<? extends GeneralJSON> g)
set the type of json that backs this instance (used primarily for
reading)
|
Constructor and Description |
---|
USMFStatus(Class<? extends GeneralJSON> generalJSONclass)
Constructor used if the input JSON is not a USMF json string.
|
Modifier and Type | Method and Description |
---|---|
static <T extends USMFStatus> |
StreamTwitterStatusList.read(BufferedInputStream stream,
int nTweets,
Class<? extends GeneralJSON> inputClass,
Class<T> instanceClass,
String charset)
Construct a new StreamTwitterStatusList from the given input stream.
|
static <T extends USMFStatus> |
MemoryTwitterStatusList.read(BufferedInputStream is,
int nTweets,
Class<T> clazz,
Class<? extends GeneralJSON> readClass) |
static <T extends USMFStatus> |
StreamTwitterStatusList.read(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> inputClass,
Class<T> instanceClass) |
static <T extends USMFStatus> |
MemoryTwitterStatusList.read(InputStream is,
int nStatus,
Class<T> clazz,
Class<? extends GeneralJSON> readClass) |
static List<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
Class<? extends GeneralJSON> generalJSON) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
int size,
String charset,
Class<? extends GeneralJSON> generalJSON) |
static FileTwitterStatusList<USMFStatus> |
FileTwitterStatusList.readUSMF(File f,
String charset,
Class<? extends GeneralJSON> generalJSON) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
Class<? extends GeneralJSON> generalJSON) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
Class<? extends GeneralJSON> generalJSON,
String charset) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> generalJSON) |
static StreamTwitterStatusList<USMFStatus> |
StreamTwitterStatusList.readUSMF(InputStream stream,
int nTweets,
Class<? extends GeneralJSON> generalJSON,
String charset) |
Constructor and Description |
---|
ConvertUSMFList(TwitterStatusList<? extends USMFStatus> list,
Class<? extends GeneralJSON> convertType) |
FileTwitterStatusList(int size,
File file,
String charset,
Class<T> clazz,
Class<? extends GeneralJSON> seedClass) |
StreamTwitterStatusList(InputStream stream,
int size,
boolean isBinary,
int headerLength,
int recordLength,
Class<? extends GeneralJSON> inputClass,
Class<T> instanceClass,
String charset) |
Modifier and Type | Class and Description |
---|---|
class |
TrueLanguageTwitterStatus
A twitter status with a true language as ascribed by some users
|
Constructor and Description |
---|
TrueLanguageTwitterStatus(Class<? extends GeneralJSON> generalJSONclass) |