WikiReader Class Reference

Inheritance diagram for WikiReader:
Collaboration diagram for WikiReader:

List of all members.

Public Methods

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

Protected Methods

void processText (final InputStream input, OutputStream output, boolean writeAnnotations, String docId, String encoding) throws IOException
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

Constructors


Method Details

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

Reimplemented from TextReader.

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

Reimplemented in TwitterArchiveReader.

boolean supportsContent ( InputStream  input)

Reimplemented from TextReader.


Field Details

ISignalInputAdapter sa [protected, inherited]

Reimplemented in TwitterArchiveReader.

ISignalOutputAdapter<String> signalWriter [protected, inherited]

Reimplemented in TwitterArchiveReader.