Class WhiteSpaceProcessor.Preserve

    • Constructor Detail

      • Preserve

        private Preserve()
    • Method Detail

      • process

        public java.lang.String process​(java.lang.String text)
        Description copied from class: WhiteSpaceProcessor
        returns whitespace normalized text. behavior varies on what normalization mode is used.
        Specified by:
        process in class WhiteSpaceProcessor
      • getName

        public java.lang.String getName()
        Description copied from class: WhiteSpaceProcessor
        gets the name of the white space processing mode. It is one of "preserve","collapse", or "replace".
        Specified by:
        getName in class WhiteSpaceProcessor