@Test public void testRenderCodes() { String str = renderCodes("bold red"); System.out.println(str); assertEquals(ansi().bold().fg(Color.RED).toString(), str); }
public static String renderCodes(final String... codes) { return render(Ansi.ansi(), codes).toString(); }
AnsiRenderer { public static String renderCodes(final String... codes) { return render(Ansi.ansi(), codes).toString(); } }
AnsiRenderer { public static String renderCodes(final String... codes) { return render(Ansi.ansi(), codes).toString(); } private  AnsiRenderer(); }
AnsiRenderer { public static String renderCodes(final String... codes) { return render(Ansi.ansi(), codes).toString(); } private  AnsiRenderer(); static String render(final String input); static Appendable render(final String input, Appendable target); static String render(final String text, final String... codes); static String renderCodes(final String... codes); static String renderCodes(final String codes); static boolean test(final String text); }
AnsiRenderer { public static String renderCodes(final String... codes) { return render(Ansi.ansi(), codes).toString(); } private  AnsiRenderer(); static String render(final String input); static Appendable render(final String input, Appendable target); static String render(final String text, final String... codes); static String renderCodes(final String... codes); static String renderCodes(final String codes); static boolean test(final String text); static final String BEGIN_TOKEN; static final String END_TOKEN; static final String CODE_TEXT_SEPARATOR; static final String CODE_LIST_SEPARATOR; }