Uses of Enum Class
opennlp.tools.util.WhitespaceMode
Packages that use WhitespaceMode
-
Uses of WhitespaceMode in opennlp.tools.util
Fields in opennlp.tools.util declared as WhitespaceModeMethods in opennlp.tools.util that return WhitespaceModeModifier and TypeMethodDescriptionstatic WhitespaceModeWhitespaceMode.current()Returns the activeWhitespaceMode: the value resolved from the "opennlp.whitespace.mode" system property when this class was initialized, or the value most recently passed tosetActive(WhitespaceMode).private static WhitespaceModeWhitespaceMode.fromProperty()Resolves the mode from the "opennlp.whitespace.mode" system property; unset or blank resolves toUNICODE.static WhitespaceModeReturns the enum constant of this class with the specified name.static WhitespaceMode[]WhitespaceMode.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 WhitespaceModeModifier and TypeMethodDescriptionstatic voidWhitespaceMode.setActive(WhitespaceMode mode) Overrides the activeWhitespaceModefor the whole process, taking precedence over the "opennlp.whitespace.mode" system property.private static voidWhitespaceMode.warnIfLegacy(WhitespaceMode mode) Logs the legacy-mode removal warning, once per process.