Class Sanitizers


  • public class Sanitizers
    extends Object
    Provider functions to clean up Strings.
    Since:
    3.5.0
    • Field Detail

      • NON_PRINTABLE_CHARACTERS

        public static final Function<String,​String> NON_PRINTABLE_CHARACTERS
        Removes any character from the input String that cannot be printed, such as invisible control characters and unused code points. Does not filter out whitespace characters like tabs and line feeds.