public class JSpellV
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
dictionaryLocation
An instance of the JSpellDictionaryLocal associated with this validator.
|
protected static JSpellValidator |
validator
An instance of JSpellValidator
|
Constructor and Description |
---|
JSpellV() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDictionaryLocation()
Returns the JSpellDictionaryLocal object.
|
boolean |
getForceUpperCase()
Should spell checker work in CAPS only mode?
|
boolean |
getIgnoreDoubleWords()
Should repeated words be ignored for spell checking?
|
boolean |
getIgnoreFirstCaps()
Should the first letter of a sentence or field be capitalized?
|
boolean |
getIgnoreIrregularCaps()
Should sentence capitalization be ignored.
|
boolean |
getIgnoreUpper()
Should words in UPPER CASE be ignored during spell checking?
|
boolean |
getIgnoreWordsWithNumbers()
Should words with numbers be ignored for spell checking, e.g., H20?
|
JSpellDictionaryManager |
getJSpellDictionaryManager()
Return an instance of the JSpellDictionaryManager.
|
static boolean |
initManager()
Initializes the dictionaryManager.
|
static boolean |
setDictionaryLocation(java.lang.String dictionaryLocation)
Sets the location of the JSpell dictionaries.
|
void |
setForceUpperCase(boolean newValue)
Should spell checker work in CAPS only mode?
|
void |
setIgnoreDoubleWords(boolean newValue)
Should repeated words be ignored for spell checking?
|
void |
setIgnoreFirstCaps(boolean newValue)
Should the first letter of a sentence or field be capitalized?
|
void |
setIgnoreIrregularCaps(boolean newValue)
Should sentence capitalization be ignored.
|
void |
setIgnoreUpper(boolean newValue)
Should words in UPPER CASE be ignored during spell checking?
|
void |
setIgnoreWordsWithNumbers(boolean newValue)
Should words with numbers be ignored for spell checking, e.g., H20?
|
protected static JSpellValidator validator
protected static java.lang.String dictionaryLocation
public static boolean initManager()
public static boolean setDictionaryLocation(java.lang.String dictionaryLocation)
dictionaryLocation
- The location of the JSpell dictionaries.public static java.lang.String getDictionaryLocation()
public void setIgnoreIrregularCaps(boolean newValue)
newValue
- true or false.public boolean getIgnoreIrregularCaps()
public void setIgnoreFirstCaps(boolean newValue)
newValue
- true or false.public boolean getIgnoreFirstCaps()
public void setIgnoreUpper(boolean newValue)
newValue
- true or false.public boolean getIgnoreUpper()
public void setIgnoreWordsWithNumbers(boolean newValue)
newValue
- true or false.public boolean getIgnoreWordsWithNumbers()
public void setIgnoreDoubleWords(boolean newValue)
newValue
- true or false.public boolean getIgnoreDoubleWords()
public void setForceUpperCase(boolean newValue)
newValue
- true or false.public boolean getForceUpperCase()
public JSpellDictionaryManager getJSpellDictionaryManager()
JSpell SDK - Spell Checker for the Java Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com