public class JansiSupportImpl extends Object implements JansiSupport
| Constructor and Description |
|---|
JansiSupportImpl() |
| Modifier and Type | Method and Description |
|---|---|
Pty |
current() |
static int |
getJansiMajorVersion() |
static int |
getJansiMinorVersion() |
static boolean |
isAtLeast(int major,
int minor) |
boolean |
isWindowsConsole() |
Pty |
open(Attributes attributes,
Size size) |
Terminal |
winSysTerminal(String name,
String type,
boolean ansiPassThrough,
Charset encoding,
int codepage,
boolean nativeSignals,
Terminal.SignalHandler signalHandler) |
Terminal |
winSysTerminal(String name,
String type,
boolean ansiPassThrough,
Charset encoding,
int codepage,
boolean nativeSignals,
Terminal.SignalHandler signalHandler,
boolean paused) |
public static int getJansiMajorVersion()
public static int getJansiMinorVersion()
public static boolean isAtLeast(int major,
int minor)
public Pty current() throws IOException
current in interface JansiSupportIOExceptionpublic Pty open(Attributes attributes, Size size) throws IOException
open in interface JansiSupportIOExceptionpublic Terminal winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler) throws IOException
winSysTerminal in interface JansiSupportIOExceptionpublic Terminal winSysTerminal(String name, String type, boolean ansiPassThrough, Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused) throws IOException
winSysTerminal in interface JansiSupportIOExceptionpublic boolean isWindowsConsole()
isWindowsConsole in interface JansiSupportCopyright © 2020. All rights reserved.