com.timeindexing.plugin
Class DefaultReader

java.lang.Object
  extended bycom.timeindexing.plugin.DefaultReader
All Implemented Interfaces:
ReaderPlugin
Direct Known Subclasses:
Block, Line

public abstract class DefaultReader
extends java.lang.Object
implements ReaderPlugin

An default reader plugin. Takes an IndexItem and writes the bytes to the input stream.


Constructor Summary
DefaultReader()
           
 
Method Summary
 java.io.InputStream getInputStream()
          Get the InputStream for the InputPlugin.
 boolean isEOF()
          Determine if the reader has hit EOF.
 ReaderPlugin setEOF()
          The reader has hit EOF.
 ReaderPlugin setInputStream(java.io.InputStream inStream)
          Set the InputStream for the InputPlugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.timeindexing.plugin.ReaderPlugin
read
 

Constructor Detail

DefaultReader

public DefaultReader()
Method Detail

isEOF

public boolean isEOF()
Determine if the reader has hit EOF.

Specified by:
isEOF in interface ReaderPlugin

setEOF

public ReaderPlugin setEOF()
The reader has hit EOF.

Specified by:
setEOF in interface ReaderPlugin

getInputStream

public java.io.InputStream getInputStream()
Get the InputStream for the InputPlugin.

Specified by:
getInputStream in interface ReaderPlugin

setInputStream

public ReaderPlugin setInputStream(java.io.InputStream inStream)
Set the InputStream for the InputPlugin.

Specified by:
setInputStream in interface ReaderPlugin