Class TerminalUtils
- java.lang.Object
-
- org.apache.flink.table.client.cli.TerminalUtils
-
public class TerminalUtils extends Object
Utilities for terminal handling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TerminalUtils.MockOutputStream
A mockOutputStream
for testing.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jline.terminal.Terminal
createDefaultTerminal()
static org.jline.terminal.Terminal
createDumbTerminal()
static org.jline.terminal.Terminal
createDumbTerminal(InputStream in, OutputStream out)
static org.jline.terminal.Terminal
createDumbTerminal(OutputStream out)
static boolean
isPlainTerminal(org.jline.terminal.Terminal terminal)
-
-
-
Method Detail
-
isPlainTerminal
public static boolean isPlainTerminal(org.jline.terminal.Terminal terminal)
-
createDumbTerminal
public static org.jline.terminal.Terminal createDumbTerminal()
-
createDumbTerminal
public static org.jline.terminal.Terminal createDumbTerminal(OutputStream out)
-
createDumbTerminal
public static org.jline.terminal.Terminal createDumbTerminal(InputStream in, OutputStream out)
-
createDefaultTerminal
public static org.jline.terminal.Terminal createDefaultTerminal()
-
-