Class DefaultIndenter

    • Field Detail

      • SYS_LF

        public static final java.lang.String SYS_LF
      • SYSTEM_LINEFEED_INSTANCE

        public static final DefaultIndenter SYSTEM_LINEFEED_INSTANCE
    • Constructor Detail

      • DefaultIndenter

        public DefaultIndenter()
        Indent with two spaces and the system's default line feed
      • DefaultIndenter

        public DefaultIndenter​(java.lang.String indent,
                               java.lang.String eol)
        Create an indenter which uses the indent string to indent one level and the eol string to separate lines.
        Parameters:
        indent - Indentation String to prepend for a single level of indentation
        eol - End-of-line marker to use after indented line