Java Utililty Methods Terminal Bold Output

List of utility methods to do Terminal Bold Output

Description

The list of methods to do Terminal Bold Output are organized into topic(s).

Method

Stringbold(String msg)
bold
StringBuilder sb = new StringBuilder("\033[1m");
sb.append(msg).append("\033[0m");
return sb.toString();
Stringbold(String str)
Wrap the given string with the control characters to make the text appear bold in the console
return (SET_BOLD_TEXT + str + SET_PLAIN_TEXT);
StringboldcolorizeText(String str, String color)
boldcolorize Text
return INTERNAL_MARKER + BOLD + INTERNAL_MARKER + color + str + INTERNAL_MARKER + RESET_ALL;
StringboldcolorizeText(String str, String fgc, String bgc)
Creates a string with the given high intensity foregroundcolor and the given backgroundcolor.
return INTERNAL_MARKER + BOLD + INTERNAL_MARKER + fgc + INTERNAL_MARKER + bgc.toLowerCase() + str
        + INTERNAL_MARKER + RESET_ALL;
StringboldText(String str)
Creates a string with high intensity (bold).
return INTERNAL_MARKER + BOLD + str + INTERNAL_MARKER + BOLD_OFF;