Uses of Class
de.bernd_michaely.common.cli.parser.AnsiColorEscapeCodes
-
Packages that use AnsiColorEscapeCodes Package Description de.bernd_michaely.common.cli.parser -
-
Uses of AnsiColorEscapeCodes in de.bernd_michaely.common.cli.parser
Methods in de.bernd_michaely.common.cli.parser that return AnsiColorEscapeCodes Modifier and Type Method Description static AnsiColorEscapeCodes
AnsiColorEscapeCodes. valueOf(String name)
Returns the enum constant of this type with the specified name.static AnsiColorEscapeCodes[]
AnsiColorEscapeCodes. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.bernd_michaely.common.cli.parser with parameters of type AnsiColorEscapeCodes Modifier and Type Method Description static String
AnsiColorEscapeCodes. formatAsAnsiColored(String s, AnsiColorEscapeCodes colorFg, AnsiColorEscapeCodes colorBg, boolean bright)
Returns a color formatted version of the provided string.static String
AnsiColorEscapeCodesUtil. formatAsColored(String s, AnsiColorEscapeCodes colorFg, boolean bright)
Returns a colored version of the provided string, if coloring is enabled, otherwise the unchanged provided string.
-