public class AnsiColor extends Object
Helper class to format ANSI colors in console output.
Modifier and Type | Class and Description |
---|---|
static class |
AnsiColor.Color |
Constructor and Description |
---|
AnsiColor() |
Modifier and Type | Method and Description |
---|---|
String |
fg(AnsiColor.Color color) |
String |
fgBright(AnsiColor.Color color) |
boolean |
isEnabled() |
String |
reset() |
public boolean isEnabled()
public String fg(AnsiColor.Color color)
public String fgBright(AnsiColor.Color color)
public String reset()
Copyright © 2019. All rights reserved.