com.timeindexing.appl
Class TimeLimitedSelectionStreamer

java.lang.Object
  extended bycom.timeindexing.appl.OutputStreamer
      extended bycom.timeindexing.appl.SelectionStreamer
          extended bycom.timeindexing.appl.TimeLimitedSelectionStreamer

public class TimeLimitedSelectionStreamer
extends SelectionStreamer

A class to output a selction of the data, but which limits the amount to a certain amount of time.


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

Constructor Detail

TimeLimitedSelectionStreamer

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

Method Detail

processTimeIndex

public long processTimeIndex(IndexView selection)
                      throws java.io.IOException,
                             TimeIndexException
Process the TimeIndex

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