public class PrintColorWriter extends PrintWriter
Modifier and Type | Field and Description |
---|---|
static String |
ANSI_RESET |
static String |
CHECK_MARK |
static String |
ERROR_MARK |
out
Constructor and Description |
---|
PrintColorWriter(PrintStream out) |
Modifier and Type | Method and Description |
---|---|
void |
green(String string) |
void |
println(PrintColor color,
String string) |
void |
red(String string) |
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
public static final String CHECK_MARK
public static final String ERROR_MARK
public static final String ANSI_RESET
public PrintColorWriter(PrintStream out) throws UnsupportedEncodingException
UnsupportedEncodingException
public void println(PrintColor color, String string)
public void green(String string)
public void red(String string)
Copyright © 2017 ECG. All rights reserved.