public final class LanguageToolPrefs
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static LanguageToolWrapper.BridgeType |
DEFAULT_BRIDGE_TYPE |
static java.lang.String |
DEFAULT_DISABLED_CATEGORIES |
static java.lang.String |
DEFAULT_DISABLED_RULES |
Modifier and Type | Method and Description |
---|---|
static void |
applyRules(ILanguageToolBridge bridge,
java.lang.String language) |
static void |
disableRule(java.lang.String ruleId,
java.lang.String languageCode) |
static LanguageToolWrapper.BridgeType |
getBridgeType() |
static java.util.Set<java.lang.String> |
getDefaultDisabledCategories() |
static java.util.Set<java.lang.String> |
getDefaultDisabledRules() |
static java.util.Set<java.lang.String> |
getDisabledCategories(java.lang.String languageCode) |
static java.util.Set<java.lang.String> |
getDisabledRules(java.lang.String languageCode) |
static java.util.Set<java.lang.String> |
getEnabledRules(java.lang.String languageCode) |
static java.lang.String |
getLocalServerJarPath() |
static java.lang.String |
getRemoteUrl() |
static void |
setBridgeType(LanguageToolWrapper.BridgeType bridgeType) |
static void |
setDisabledCategories(java.util.Set<java.lang.String> categories,
java.lang.String languageCode) |
static void |
setDisabledRules(java.util.Set<java.lang.String> rules,
java.lang.String languageCode) |
static void |
setEnabledRules(java.util.Set<java.lang.String> rules,
java.lang.String languageCode) |
static void |
setLocalServerJarPath(java.lang.String path) |
static void |
setRemoteUrl(java.lang.String url) |
public static final java.lang.String DEFAULT_DISABLED_CATEGORIES
public static final java.lang.String DEFAULT_DISABLED_RULES
public static final LanguageToolWrapper.BridgeType DEFAULT_BRIDGE_TYPE
public static void disableRule(java.lang.String ruleId, java.lang.String languageCode)
public static void applyRules(ILanguageToolBridge bridge, java.lang.String language)
public static void setBridgeType(LanguageToolWrapper.BridgeType bridgeType)
public static LanguageToolWrapper.BridgeType getBridgeType()
public static void setRemoteUrl(java.lang.String url)
public static java.lang.String getRemoteUrl()
public static void setLocalServerJarPath(java.lang.String path)
public static java.lang.String getLocalServerJarPath()
public static void setDisabledRules(java.util.Set<java.lang.String> rules, java.lang.String languageCode)
public static void setEnabledRules(java.util.Set<java.lang.String> rules, java.lang.String languageCode)
public static void setDisabledCategories(java.util.Set<java.lang.String> categories, java.lang.String languageCode)
public static java.util.Set<java.lang.String> getDisabledRules(java.lang.String languageCode)
public static java.util.Set<java.lang.String> getDefaultDisabledRules()
public static java.util.Set<java.lang.String> getEnabledRules(java.lang.String languageCode)
public static java.util.Set<java.lang.String> getDisabledCategories(java.lang.String languageCode)
public static java.util.Set<java.lang.String> getDefaultDisabledCategories()