Package ro.sync.ecss.extensions.api
Class SpellSuggestionsInfo
java.lang.Object
ro.sync.ecss.extensions.api.SpellSuggestionsInfo
Container for spellchecking suggestions information.
-
Constructor Summary
ConstructorsConstructorDescriptionSpellSuggestionsInfo
(int startOffset, int endOffset, String word, String[] suggestions) -
Method Summary
-
Constructor Details
-
SpellSuggestionsInfo
- Parameters:
startOffset
- Start offset of the word.endOffset
- End offset of the word.word
- The targeted word for suggestions.suggestions
- List of suggestions.
-
-
Method Details
-
getStartOffset
public int getStartOffset()Gets the start offset.- Returns:
- Returns the start offset.
-
getEndOffset
public int getEndOffset()Gets the end offset.- Returns:
- Returns the end offset.
-
getWord
- Returns:
- Returns the word for which suggestions were provided.
-
getSuggestions
- Returns:
- Returns the suggestions.
-