com.timeindexing.appl
Class SelectionStreamer

java.lang.Object
  extended bycom.timeindexing.appl.OutputStreamer
      extended bycom.timeindexing.appl.SelectionStreamer
Direct Known Subclasses:
CountLimitedSelectionStreamer, TimeLimitedSelectionStreamer

public class SelectionStreamer
extends OutputStreamer

A class to output a selctino of the data.


Field Summary
 
Fields inherited from class com.timeindexing.appl.OutputStreamer
index, out, outputPlugin, outputProperties, writeCount
 
Constructor Summary
SelectionStreamer(Index anIndex, java.io.OutputStream output)
          Construct an SelectionStreamer object given an index and an output stream.
 
Method Summary
 long doOutput(IndexProperties properties)
          Do some output, given some IndexProperties.
 
Methods inherited from class com.timeindexing.appl.OutputStreamer
processTimeIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionStreamer

public SelectionStreamer(Index anIndex,
                         java.io.OutputStream output)
Construct an SelectionStreamer object given an index and an output stream.

Method Detail

doOutput

public long doOutput(IndexProperties properties)
              throws java.io.IOException,
                     TimeIndexException
Do some output, given some IndexProperties. The IndexProperties specify a selection to make. Only the selection is output.

Overrides:
doOutput in class OutputStreamer
Throws:
java.io.IOException
TimeIndexException