com.timeindexing.appl
Class SelectionCodeEvaluator

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

public class SelectionCodeEvaluator
extends java.lang.Object

Determine the security code of a selection of TimeIndex given the Index filename.


Constructor Summary
SelectionCodeEvaluator(java.lang.String filename)
          Construct a SelectionCodeEvaluator object.
 
Method Summary
protected  void close()
          Close
 long evaluate(IndexProperties selectionProperties)
          Evaluate the security code.
protected  void generate(IndexProperties selectionProperties)
          Do the generation
protected  void open()
          Open
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectionCodeEvaluator

public SelectionCodeEvaluator(java.lang.String filename)
Construct a SelectionCodeEvaluator object.

Method Detail

evaluate

public long evaluate(IndexProperties selectionProperties)
              throws java.io.IOException,
                     TimeIndexException
Evaluate the security code.

Throws:
java.io.IOException
TimeIndexException

open

protected void open()
             throws TimeIndexException
Open

Throws:
TimeIndexException

generate

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

Throws:
java.io.IOException
TimeIndexException

close

protected void close()
              throws TimeIndexException
Close

Throws:
TimeIndexException