public class JSpellIFrameValidator extends JSpellV
dictionaryLocation
Modifier and Type | Method and Description |
---|---|
static JSpellIFrameValidator |
getJSpellIFrameValidator()
Return an instance of JSpellIFrameValidator.
|
static JSpellIFrameValidator |
getJSpellIFrameValidator(boolean forceUpperCase,
boolean ignoreIrregularCaps,
boolean ignoreFirstCaps,
boolean ignoreNumbers,
boolean ignoreUpper,
boolean ignoreDouble)
Return the JSpellIFrameValidator instance.
|
java.lang.String |
getResults(java.lang.String textToCheck,
java.lang.String userLearnedWords,
boolean confirmAfterLearn,
boolean confirmAfterReplace,
java.lang.String supplemental,
java.lang.String language)
Returns the result of spell checking an IFrame instance.
|
getDictionaryLocation, getForceUpperCase, getIgnoreDoubleWords, getIgnoreFirstCaps, getIgnoreIrregularCaps, getIgnoreUpper, getIgnoreWordsWithNumbers, getJSpellDictionaryManager, initManager, setDictionaryLocation, setForceUpperCase, setIgnoreDoubleWords, setIgnoreFirstCaps, setIgnoreIrregularCaps, setIgnoreUpper, setIgnoreWordsWithNumbers
public static JSpellIFrameValidator getJSpellIFrameValidator()
public static JSpellIFrameValidator getJSpellIFrameValidator(boolean forceUpperCase, boolean ignoreIrregularCaps, boolean ignoreFirstCaps, boolean ignoreNumbers, boolean ignoreUpper, boolean ignoreDouble)
forceUpperCase
- true or false.ignoreIrregularCaps
- true or false.ignoreFirstCaps
- true or false.ignoreNumbers
- true or false.ignoreUpper
- true or false.ignoreDouble
- true or false.public java.lang.String getResults(java.lang.String textToCheck, java.lang.String userLearnedWords, boolean confirmAfterLearn, boolean confirmAfterReplace, java.lang.String supplemental, java.lang.String language) throws JSpellException
textToCheck
- a String containing the text to check.userLearnedWords
- a String containing words the user has 'learned'.confirmAfterLearn
- true or false.confirmAfterReplace
- true or false.supplemental
- a String specifying the name of the supplemental dictionary.language
- The language in which the spell check is performed, e.g. "English (US)".JSpellException
- a JSpellException object containing JSpell errors.JSpell SDK - Spell Checker for the Java Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com