com.timeindexing.appl
Class Selecter

java.lang.Object
  extended bycom.timeindexing.appl.Selecter

public class Selecter
extends java.lang.Object

Display a selection of TimeIndex to an OutputStream given the Index filename.


Constructor Summary
Selecter(java.lang.String filename)
          Construct a Selecter object, with output to System.out.
Selecter(java.lang.String filename, java.io.OutputStream out)
          Construct a Selecter object.
 
Method Summary
protected  void close()
          Close
protected  void open()
          Open
protected  void output(IndexProperties selectionProperties)
          Do the output
 Selecter select(IndexProperties selectionProperties)
          Display the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selecter

public Selecter(java.lang.String filename)
Construct a Selecter object, with output to System.out.


Selecter

public Selecter(java.lang.String filename,
                java.io.OutputStream out)
Construct a Selecter object.

Method Detail

select

public Selecter select(IndexProperties selectionProperties)
                throws java.io.IOException,
                       TimeIndexException
Display the output.

Throws:
java.io.IOException
TimeIndexException

open

protected void open()
             throws TimeIndexException
Open

Throws:
TimeIndexException

output

protected void output(IndexProperties selectionProperties)
               throws java.io.IOException,
                      TimeIndexException
Do the output

Throws:
java.io.IOException
TimeIndexException

close

protected void close()
              throws TimeIndexException
Close

Throws:
TimeIndexException