gov.nih.nlm.nls.gspell
Class CommonMisspellingIndex

java.lang.Object
  extended bygov.nih.nlm.nls.gspell.CommonMisspellingIndex

final class CommonMisspellingIndex
extends java.lang.Object

CommonMisspellingIndex


Constructor Summary
(package private) CommonMisspellingIndex(GlobalBehavior pSettings)
          This is a constructor for CommonMisspellingIndex
 
Method Summary
(package private)  void add(java.lang.String pBadString, java.lang.String pGoodString)
          Method add
(package private)  void cleanup()
          Method cleanup
(package private)  void close()
          Method close closes the db
(package private)  void export(java.io.PrintWriter pWriter)
          Method export
(package private)  java.lang.String[] find(java.lang.String pBadString)
          Method find
(package private)  void flush()
          Method flush
(package private)  java.lang.String printHeader()
          Method printHeader
(package private)  void saveCMs()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonMisspellingIndex

CommonMisspellingIndex(GlobalBehavior pSettings)
                 throws java.lang.Exception
This is a constructor for CommonMisspellingIndex

Parameters:
pSettings -
Method Detail

add

void add(java.lang.String pBadString,
         java.lang.String pGoodString)
   throws java.lang.Exception
Method add

Throws:
java.lang.Exception

cleanup

void cleanup()
       throws java.lang.Exception
Method cleanup

Throws:
java.lang.Exception

close

void close()
     throws java.lang.Exception
Method close closes the db

Throws:
java.lang.Exception

flush

void flush()
     throws java.lang.Exception
Method flush

Throws:
java.lang.Exception

find

java.lang.String[] find(java.lang.String pBadString)
                  throws java.lang.Exception
Method find

Returns:
String[]
Throws:
java.lang.Exception

export

void export(java.io.PrintWriter pWriter)
      throws java.lang.Exception
Method export

Parameters:
pWriter -
Throws:
java.lang.Exception

printHeader

java.lang.String printHeader()
Method printHeader

Returns:
String

saveCMs

void saveCMs()
       throws java.lang.Exception
Throws:
java.lang.Exception


The use and distribution of this material is subject to the terms and conditions included in the file SPECIALIST_NLP_TOOLS_TERMS_AND_CONDITIONS.TXT, located in the root directory of the distribution.