public class JSpellValidator extends JSpellV
dictionaryLocation, validator| Modifier and Type | Method and Description |
|---|---|
static JSpellValidator |
getJSpellValidator()
Return an instance of the JSpellValidator class.
|
static JSpellValidator |
getJSpellValidator(boolean forceUpperCase,
boolean ignoreIrregularCaps,
boolean ignoreFirstCaps,
boolean ignoreNumbers,
boolean ignoreUpper,
boolean ignoreDouble)
Return the JSpellValidator object and initialize it.
|
java.lang.String |
getResults(java.lang.String[] checkArray,
java.lang.String directEdit,
java.lang.String ieMode,
java.lang.String userLearnedWords,
boolean confirmAfterLearn,
boolean confirmAfterReplace,
java.lang.String supplemental,
java.lang.String language)
Returns the results of the JSpell HTML spell checker.
|
getDictionaryLocation, getForceUpperCase, getIgnoreDoubleWords, getIgnoreFirstCaps, getIgnoreIrregularCaps, getIgnoreUpper, getIgnoreWordsWithNumbers, getJSpellDictionaryManager, initManager, setDictionaryLocation, setForceUpperCase, setIgnoreDoubleWords, setIgnoreFirstCaps, setIgnoreIrregularCaps, setIgnoreUpper, setIgnoreWordsWithNumberspublic static JSpellValidator getJSpellValidator()
public static JSpellValidator getJSpellValidator(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[] checkArray,
java.lang.String directEdit,
java.lang.String ieMode,
java.lang.String userLearnedWords,
boolean confirmAfterLearn,
boolean confirmAfterReplace,
java.lang.String supplemental,
java.lang.String language)
throws JSpellException
checkArray - A String array containing the text of each field to spell check.directEdit - Use text highlighting modeieMode - Text Highlighting mode is for IEuserLearnedWords - Words that the user has 'learned'.confirmAfterLearn - Prompt user for confirmation after learning a word.confirmAfterReplace - Prompt user for confirmation when replacing a word with a word not in the suggestion list.supplemental - The name of the file containing the supplemental dictionary.language - The language in which to perform the spell check, e.g., "English (US)".JSpellException - A JSpellException object containing the JSpell intiialization error. Usually an incorrect directory location for the JSpell dictionary fiels has been specified.JSpell SDK - Spell Checker for the Java Platform
Copyright © 2009-2019 Page Scholar Inc, All Rights Reserved - https://www.jspell.com