Class WriterCharAppender

    • Field Detail

      • lineSeparator1

        private final char lineSeparator1
      • lineSeparator2

        private final char lineSeparator2
      • newLine

        private final char newLine
      • denormalizeLineEndings

        private boolean denormalizeLineEndings
    • Constructor Detail

      • WriterCharAppender

        public WriterCharAppender​(int maxLength,
                                  java.lang.String emptyValue,
                                  int whitespaceRangeStart,
                                  Format format)
        Creates a WriterCharAppender with:
        • a maximum limit of characters to append
        • the default value to return when no characters have been accumulated.
        • the basic Format specification for handling newlines
        The padding character is defaulted to a whitespace character ' '.
        Parameters:
        maxLength - maximum limit of characters to append
        emptyValue - default value to return when no characters have been accumulated
        whitespaceRangeStart - starting range of characters considered to be whitespace.
        format - output format specification used for newline handling