com.theloutons.search.utils
Class StopWordMgmt

java.lang.Object
  extended bycom.theloutons.search.utils.StopWordMgmt

public class StopWordMgmt
extends java.lang.Object

Author:
Tom Louton This just is a trivial stop word manager for the indexer and searcher Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
StopWordMgmt()
           
StopWordMgmt(java.lang.String[] stops)
          Creates with a list of stop words
 
Method Summary
 java.lang.String[] getDefault()
          the default stop word list.
 java.lang.String[] getStopWords()
          in case someone needs a list of stop words used, indexer etc.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWordMgmt

public StopWordMgmt()

StopWordMgmt

public StopWordMgmt(java.lang.String[] stops)
Creates with a list of stop words

Parameters:
stops -
Method Detail

getStopWords

public java.lang.String[] getStopWords()
in case someone needs a list of stop words used, indexer etc.

Returns:
an array of the strings containing the stop words

getDefault

public java.lang.String[] getDefault()
the default stop word list.

Returns:
an array of the strings containing the stop words