public class LinuxConsole extends AbstractConsole implements TextConsole
TextConsole.Level| Modifier and Type | Field and Description |
|---|---|
static String |
ANSI_BLACK |
static String |
ANSI_BLUE |
static String |
ANSI_CYAN |
static String |
ANSI_GREEN |
static String |
ANSI_PURPLE |
static String |
ANSI_RED |
static String |
ANSI_RESET |
static String |
ANSI_WHITE |
static String |
ANSI_YELLOW |
| Constructor and Description |
|---|
LinuxConsole() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
error(String s,
Throwable t) |
int |
getColumns() |
int |
getRows() |
String |
toString() |
void |
warn(String s,
Throwable t) |
debug, debug, error, getLevel, info, info, print, println, readLine, setCompleters, setLevel, warnpublic static final String ANSI_RESET
public static final String ANSI_BLACK
public static final String ANSI_RED
public static final String ANSI_GREEN
public static final String ANSI_YELLOW
public static final String ANSI_BLUE
public static final String ANSI_PURPLE
public static final String ANSI_CYAN
public static final String ANSI_WHITE
public int getRows()
getRows in interface TextConsolepublic int getColumns()
getColumns in interface TextConsolepublic void clear()
clear in interface TextConsolepublic void error(String s, Throwable t)
error in interface TextConsoleerror in class AbstractConsolepublic void warn(String s, Throwable t)
warn in interface TextConsolewarn in class AbstractConsoleCopyright © 2014. All rights reserved.