com.sun.labs.minion.indexer.dictionary
Class TermStatsFactory

java.lang.Object
  extended by com.sun.labs.minion.indexer.dictionary.TermStatsFactory
All Implemented Interfaces:
com.sun.labs.util.props.Component, com.sun.labs.util.props.Configurable

public class TermStatsFactory
extends java.lang.Object
implements com.sun.labs.util.props.Configurable

A configurable factory for term stats dictionaries.


Field Summary
static java.lang.String PROP_TERMSTATS_TYPE
           
 
Constructor Summary
TermStatsFactory()
           
 
Method Summary
 TermStatsDictionary getDictionary(java.io.File df)
          Gets an appropriate term stats dictionary, given the configuration.
 java.lang.String getName()
           
 void newProperties(com.sun.labs.util.props.PropertySheet ps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROP_TERMSTATS_TYPE

@ConfigString(defaultValue="UNCACHED")
public static final java.lang.String PROP_TERMSTATS_TYPE
See Also:
Constant Field Values
Constructor Detail

TermStatsFactory

public TermStatsFactory()
Method Detail

getDictionary

public TermStatsDictionary getDictionary(java.io.File df)
                                  throws java.io.IOException
Gets an appropriate term stats dictionary, given the configuration.

Throws:
java.io.IOException

newProperties

public void newProperties(com.sun.labs.util.props.PropertySheet ps)
                   throws com.sun.labs.util.props.PropertyException
Specified by:
newProperties in interface com.sun.labs.util.props.Configurable
Throws:
com.sun.labs.util.props.PropertyException

getName

public java.lang.String getName()