Interface FormattedHeader<T>

    • Method Detail

      • getResetEscapeCode

        java.lang.String getResetEscapeCode()
        Gets the ANSI reset Escape-Code for this FormattedHeader instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Returns:
        The String to be used for resetting ANSI escaping.
      • setResetEscapeCode

        void setResetEscapeCode​(java.lang.String aEscapeCode)
        Gets the ANSI reset Escape-Code for this FormattedHeader instance. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Parameters:
        aEscapeCode - The String to be used for resetting ANSI escaping.
      • withResetEscapeCode

        default FormattedHeader<T> withResetEscapeCode​(java.lang.String aEscapeCode)
        Sets the ANSI reset Escape-Code for this FormattedHeader instance as of the Builder-Pattern. In case an ANSI Escape-Codes is set, then this ANSI Reset-Code is prepended to the according text being printed.
        Parameters:
        aEscapeCode - The String to be used for resetting ANSI escaping.
        Returns:
        This FormattedHeader instance to continue configuration.