public class SGRCodes extends Object
Manages SGRCodes.SGRCodes used by ANSIConsoleOutput
| Modifier and Type | Class and Description |
|---|---|
static class |
SGRCodes.SGRCode |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,SGRCodes.SGRCode> |
DEFAULT_CODES |
| Constructor and Description |
|---|
SGRCodes() |
SGRCodes(Map<String,SGRCodes.SGRCode> codes) |
| Modifier and Type | Method and Description |
|---|---|
void |
assignCode(String key,
SGRCodes.SGRCode code) |
SGRCodes.SGRCode |
getCode(String key) |
boolean |
hasCode(String key) |
public static final Map<String,SGRCodes.SGRCode> DEFAULT_CODES
public SGRCodes()
public SGRCodes(Map<String,SGRCodes.SGRCode> codes)
public void assignCode(String key, SGRCodes.SGRCode code)
public boolean hasCode(String key)
public SGRCodes.SGRCode getCode(String key)
Copyright © 2003–2019. All rights reserved.