public class ANSICodes extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BG_BLACK |
static int |
BG_BLUE |
static int |
BG_CYAN |
static int |
BG_GREEN |
static int |
BG_MAGENTA |
static int |
BG_RED |
static int |
BG_WHITE |
static int |
BG_YELLOW |
static int |
BLINK |
static int |
BOLD |
static int |
CONCEALED |
static int |
FG_BLACK |
static int |
FG_BLUE |
static int |
FG_CYAN |
static int |
FG_GREEN |
static int |
FG_MAGENTA |
static int |
FG_RED |
static int |
FG_WHITE |
static int |
FG_YELLOW |
protected static Map<String,Integer> |
map |
static int |
OFF |
static int |
REVERSE |
protected static Pattern |
TPL |
static int |
UNDERSCORE |
Constructor and Description |
---|
ANSICodes() |
Modifier and Type | Method and Description |
---|---|
static void |
append(jline.ANSIBuffer buf,
String text,
String codeKey,
boolean wiki) |
static void |
appendTemplate(jline.ANSIBuffer buf,
String content,
boolean wiki) |
static int |
getCode(String key) |
public static final int OFF
public static final int BOLD
public static final int UNDERSCORE
public static final int BLINK
public static final int REVERSE
public static final int CONCEALED
public static final int FG_BLACK
public static final int FG_RED
public static final int FG_GREEN
public static final int FG_YELLOW
public static final int FG_BLUE
public static final int FG_MAGENTA
public static final int FG_CYAN
public static final int FG_WHITE
public static final int BG_BLACK
public static final int BG_RED
public static final int BG_GREEN
public static final int BG_YELLOW
public static final int BG_BLUE
public static final int BG_MAGENTA
public static final int BG_CYAN
public static final int BG_WHITE
public ANSICodes()
Copyright © 2017 Nuxeo. All rights reserved.