Class ForgePlatformHelper
java.lang.Object
com.mrbysco.spellchecker.platform.ForgePlatformHelper
- All Implemented Interfaces:
IPlatformHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured checking thresholdGets the path to the mods directoryGets the configured language to be used for spell checkingintGets the configured max suggestions
-
Constructor Details
-
ForgePlatformHelper
public ForgePlatformHelper()
-
-
Method Details
-
getConfigDir
Description copied from interface:IPlatformHelperGets the path to the mods directory- Specified by:
getConfigDirin interfaceIPlatformHelper- Returns:
- the path to the mods directory
-
getConfiguredLocale
Description copied from interface:IPlatformHelperGets the configured language to be used for spell checking- Specified by:
getConfiguredLocalein interfaceIPlatformHelper- Returns:
- get configured language
-
getCheckingThreshold
public int getCheckingThreshold()Description copied from interface:IPlatformHelperGets the configured checking threshold- Specified by:
getCheckingThresholdin interfaceIPlatformHelper- Returns:
- get configured checking threshold
-
getMaxSuggestions
public int getMaxSuggestions()Description copied from interface:IPlatformHelperGets the configured max suggestions- Specified by:
getMaxSuggestionsin interfaceIPlatformHelper- Returns:
- get configured max suggestions
-