public class JSpellDictionaryManager
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| java.util.HashMap | getBlockList()A HashMap containing words to filter or replace. | 
| java.lang.String | getDictionaryDirectory()Returns the directory where the JSpell dictionary files are located. | 
| JSpellDictionaryLocal | getJSpellDictionaryLocal(java.lang.String description)Retrieve a JSpellDictionaryLocal object from the manager using the description containing the language and country code to
 determine which dictionary object to return. | 
| JSpellDictionaryLocal | getJSpellDictionaryLocal(java.lang.String language,
                        java.lang.String country,
                        java.lang.String version)Retrieve a JSpellDictionaryLocal object from the manager using the language and country to determine which dictionary object
 to return. | 
| static JSpellDictionaryManager | getJSpellDictionaryManager()Returns an instance of the JSpellDictionaryManager object. | 
| java.util.Vector | getLanguages()Returns a Vector containing String descriptions of the languages and country codes that this JSpellDictionaryManager is
 managing. | 
| boolean | isForceUpperCase()Getter for property forceUpperCase. | 
| boolean | isIgnoreDoubleWords()Getter for property ignoreDoubleWords. | 
| boolean | isIgnoreFirstCaps()Getter for property ignoreFirstCaps. | 
| boolean | isIgnoreIrregularCaps()Getter for property ignoreIrregularCaps. | 
| boolean | isIgnoreUpper()Getter for property ignoreUpper. | 
| boolean | isIgnoreWordsWithNumbers()Getter for property ignoreWordsWithNumbers. | 
| void | readBlockList() | 
| boolean | setDictionaryDirectory(java.lang.String dictionaryDirectory)Setter for property dictionaryDirectory. | 
| void | setForceUpperCase(boolean forceUpperCase)Setter for property forceUpperCase. | 
| void | setIgnoreDoubleWords(boolean ignoreDoubleWords)Setter for property ignoreDoubleWords. | 
| void | setIgnoreFirstCaps(boolean ignoreFirstCaps)Setter for property ignoreFirstCaps. | 
| void | setIgnoreIrregularCaps(boolean ignoreIrregularCaps)Setter for property ignoreIrregularCaps. | 
| void | setIgnoreUpper(boolean ignoreUpper)Setter for property ignoreUpper. | 
| void | setIgnoreWordsWithNumbers(boolean ignoreWordsWithNumbers)Setter for property ignoreWordsWithNumbers. | 
public static JSpellDictionaryManager getJSpellDictionaryManager()
public JSpellDictionaryLocal getJSpellDictionaryLocal(java.lang.String language, java.lang.String country, java.lang.String version)
language - ISO language code.country - ISO country code.public JSpellDictionaryLocal getJSpellDictionaryLocal(java.lang.String description)
description - a String description of the dictionary, e.g., "English (US)" or "Spanish (ES)"public java.util.Vector getLanguages()
public java.lang.String getDictionaryDirectory()
public boolean setDictionaryDirectory(java.lang.String dictionaryDirectory)
dictionaryDirectory - New value of property dictionaryDirectory.public void readBlockList()
                   throws java.io.IOException
java.io.IOExceptionpublic java.util.HashMap getBlockList()
public boolean isForceUpperCase()
public void setForceUpperCase(boolean forceUpperCase)
forceUpperCase - New value of property forceUpperCase.public boolean isIgnoreDoubleWords()
public void setIgnoreDoubleWords(boolean ignoreDoubleWords)
ignoreDoubleWords - New value of property ignoreDoubleWords.public boolean isIgnoreFirstCaps()
public void setIgnoreFirstCaps(boolean ignoreFirstCaps)
ignoreFirstCaps - New value of property ignoreFirstCaps.public boolean isIgnoreIrregularCaps()
public void setIgnoreIrregularCaps(boolean ignoreIrregularCaps)
ignoreIrregularCaps - New value of property ignoreIrregularCaps.public boolean isIgnoreUpper()
public void setIgnoreUpper(boolean ignoreUpper)
ignoreUpper - New value of property ignoreUpper.public boolean isIgnoreWordsWithNumbers()
public void setIgnoreWordsWithNumbers(boolean ignoreWordsWithNumbers)
ignoreWordsWithNumbers - New value of property ignoreWordsWithNumbers.JSpell SDK - Spell Checker for the Java  Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com