java.lang.Object
de.s42.base.console.AnsiHelper
See https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html
- Autor:
- Benjamin Schiller
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypKlasseBeschreibungstatic enum
static enum
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
coloredString
(String text, AnsiHelper.TerminalColor color) static String
coloredString
(String text, AnsiHelper.TerminalColor color, boolean ansiEnabled) static String
coloredString
(String text, AnsiHelper.TerminalColor color, AnsiHelper.TerminalBackgroundColor background) static String
coloredString
(String text, AnsiHelper.TerminalColor color, AnsiHelper.TerminalBackgroundColor background, boolean ansiEnabled)
-
Konstruktordetails
-
AnsiHelper
private AnsiHelper()
-
-
Methodendetails
-
coloredString
-
coloredString
public static String coloredString(String text, AnsiHelper.TerminalColor color, boolean ansiEnabled) -
coloredString
public static String coloredString(String text, AnsiHelper.TerminalColor color, AnsiHelper.TerminalBackgroundColor background) -
coloredString
public static String coloredString(String text, AnsiHelper.TerminalColor color, AnsiHelper.TerminalBackgroundColor background, boolean ansiEnabled)
-