Package ro.sync.ecss.extensions.api
Class SpellCheckingProblemInfoWithSuggestions
java.lang.Object
ro.sync.ecss.extensions.api.SpellCheckingProblemInfo
ro.sync.ecss.extensions.api.SpellCheckingProblemInfoWithSuggestions
@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public class SpellCheckingProblemInfoWithSuggestions
extends SpellCheckingProblemInfo
-
Constructor Summary
ConstructorsConstructorDescriptionSpellCheckingProblemInfoWithSuggestions
(int startOffset, int endOffset, String lang, String word, List<String> suggestions) Create spell checking result information for a word. -
Method Summary
Methods inherited from class ro.sync.ecss.extensions.api.SpellCheckingProblemInfo
getEndOffset, getErrorCode, getLanguageIsoName, getStartOffset, getSuggestions, getWord, toString
-
Constructor Details
-
SpellCheckingProblemInfoWithSuggestions
public SpellCheckingProblemInfoWithSuggestions(int startOffset, int endOffset, String lang, String word, List<String> suggestions) Create spell checking result information for a word.- Parameters:
startOffset
- The start offset of the word.endOffset
- The end offset of the word.lang
- ISO Name for the language of the word.word
- The word found at the offsets.suggestions
- List of suggestions, should not be null.- Since:
- 21
-