Uses of Enum Class
opennlp.tools.util.CompatibilityMode
Packages that use CompatibilityMode
-
Uses of CompatibilityMode in opennlp.tools.util
Fields in opennlp.tools.util declared as CompatibilityModeMethods in opennlp.tools.util that return CompatibilityModeModifier and TypeMethodDescriptionstatic CompatibilityModeCompatibilityMode.current()Returns the activeCompatibilityMode: the value resolved from the "opennlp.compat.mode" system property when this class was initialized, or the value most recently passed tosetActive(CompatibilityMode).private static CompatibilityModeCompatibilityMode.fromProperty()Resolves the mode from the "opennlp.compat.mode" system property; unset or blank resolves toCURRENT.static CompatibilityModeReturns the enum constant of this class with the specified name.static CompatibilityMode[]CompatibilityMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in opennlp.tools.util with parameters of type CompatibilityModeModifier and TypeMethodDescriptionstatic voidCompatibilityMode.setActive(CompatibilityMode mode) Overrides the activeCompatibilityModefor the whole process, taking precedence over the "opennlp.compat.mode" system property.private static voidCompatibilityMode.warnIfLegacy(CompatibilityMode mode) Logs the legacy-mode removal warning, once per process.