| Modifier and Type | Class and Description |
|---|---|
static class |
JLineConsole.Color |
| Modifier and Type | Field and Description |
|---|---|
static String |
escape |
protected Lock |
lock |
protected jline.console.ConsoleReader |
reader |
static String |
resetAttrEscape |
protected PrintWriter |
writer |
| Constructor and Description |
|---|
JLineConsole() |
| Modifier and Type | Method and Description |
|---|---|
jline.console.ConsoleReader |
getConsoleReader() |
void |
print(String text)
Отображает текст на терминале
|
void |
println()
Печатает символ перевода строки
|
String |
readLine()
Читает строку из консоли
|
protected jline.console.ConsoleReader reader
protected PrintWriter writer
protected final Lock lock
public static final String escape
public static final String resetAttrEscape
public JLineConsole()
throws IOException
IOExceptionpublic String readLine()
Consolepublic void print(String text)
Consolepublic void println()
Consolepublic jline.console.ConsoleReader getConsoleReader()
Copyright © 2017. All rights reserved.