public class AnsiRenderer extends Object
@|code(,code)* text|@Examples:
@|bold Hello|@
@|bold,red Warning!|@
| Modifier and Type | Class and Description |
|---|---|
static class |
AnsiRenderer.Code |
| Modifier and Type | Field and Description |
|---|---|
static String |
BEGIN_TOKEN |
static String |
CODE_LIST_SEPARATOR |
static String |
CODE_TEXT_SEPARATOR |
static String |
END_TOKEN |
| Constructor and Description |
|---|
AnsiRenderer() |
| Modifier and Type | Method and Description |
|---|---|
static String |
render(String input) |
static boolean |
test(String text) |
public static final String BEGIN_TOKEN
public static final String END_TOKEN
public static final String CODE_TEXT_SEPARATOR
public static final String CODE_LIST_SEPARATOR
public static String render(String input) throws IllegalArgumentException
IllegalArgumentExceptionpublic static boolean test(String text)
Copyright © 2015. All rights reserved.