TwitterArchiveReader Class Reference

Inheritance diagram for TwitterArchiveReader:
Collaboration diagram for TwitterArchiveReader:

List of all members.


Detailed Description

The TweetReader is able to parse export files of the Twitter history format.

Basic Encodings:

ISO-8859-1
ISO-8859-2
ISO-8859-4
ISO-8859-5
ISO-8859-7
ISO-8859-9
ISO-8859-13
ISO-8859-15
KOI8-R
US-ASCII
UTF-8
UTF-16
UTF-16BE
UTF-16LE
windows-1250
windows-1251
windows-1252
windows-1253
windows-1254
windows-1257 

Extended Encodings:

Big5
Big5-HKSCS
IBM00858
IBM437
IBM775
IBM850
IBM852
IBM855
IBM857
IBM860
IBM861
IBM862
IBM863
IBM864
IBM865
IBM866
IBM868
IBM869
ISO-2022-JP
ISO-2022-KR
ISO-8859-3
ISO-8859-6
ISO-8859-8
Shift_JIS
TIS-620
windows-1255
windows-1256
windows-1258
windows-31j
x-EUC-TW
x-IBM1006
x-IBM1124
x-IBM856
x-IBM874
x-IBM921
x-IBM922
x-IBM942
x-IBM942C
x-IBM943
x-IBM943C
x-IBM948
x-IBM950
x-IBM964
x-ISCII91
x-iso-8859-11
x-Johab
x-MacArabic
x-MacCentralEurope
x-MacCroatian
x-MacCyrillic
x-MacGreek
x-MacHebrew
x-MacIceland
x-MacRoman
x-MacRomania
x-MacThai
x-MacTurkish
x-MacUkraine
x-MS950-HKSCS
x-PCK
x-windows-874
x-windows-950 

Public Methods

Result run () throws IOException
void getPreview (InputStream input, OutputStream output, String encoding) throws IOException
boolean supportsContent (InputStream input)

Protected Methods

void processText (InputStream input, OutputStream output, boolean writeAnnotations, String docId, String encoding) throws IOException

Protected Static Methods

static String deleteNullsFromString (String toProcess)

Protected Attributes

ISignalOutputAdapter< String > signalWriter
ISignalInputAdapter sa

Method Details

static String deleteNullsFromString ( String  toProcess) [static, protected, inherited]
void getPreview ( InputStream  input,
OutputStream  output,
String  encoding 
) throws IOException

Reimplemented from TextReader.

void processText ( InputStream  input,
OutputStream  output,
boolean  writeAnnotations,
String  docId,
String  encoding 
) throws IOException [protected]

Reimplemented from TextReader.

Result run ( ) throws IOException

Reimplemented from TextReader.

boolean supportsContent ( InputStream  input)

Reimplemented from TextReader.


Field Details

ISignalInputAdapter sa [protected]

Reimplemented from TextReader.

ISignalOutputAdapter<String> signalWriter [protected]

Reimplemented from TextReader.