Package org.jline.terminal.impl.jna
Class JnaSupportImpl
- java.lang.Object
-
- org.jline.terminal.impl.jna.JnaSupportImpl
-
- All Implemented Interfaces:
JnaSupport
public class JnaSupportImpl extends java.lang.Object implements JnaSupport
-
-
Constructor Summary
Constructors Constructor Description JnaSupportImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pty
current()
boolean
isConsoleInput()
boolean
isConsoleOutput()
boolean
isWindowsConsole()
Pty
open(Attributes attributes, Size size)
Terminal
winSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler)
Terminal
winSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused)
-
-
-
Method Detail
-
current
public Pty current() throws java.io.IOException
- Specified by:
current
in interfaceJnaSupport
- Throws:
java.io.IOException
-
open
public Pty open(Attributes attributes, Size size) throws java.io.IOException
- Specified by:
open
in interfaceJnaSupport
- Throws:
java.io.IOException
-
winSysTerminal
public Terminal winSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler) throws java.io.IOException
- Specified by:
winSysTerminal
in interfaceJnaSupport
- Throws:
java.io.IOException
-
winSysTerminal
public Terminal winSysTerminal(java.lang.String name, java.lang.String type, boolean ansiPassThrough, java.nio.charset.Charset encoding, int codepage, boolean nativeSignals, Terminal.SignalHandler signalHandler, boolean paused) throws java.io.IOException
- Specified by:
winSysTerminal
in interfaceJnaSupport
- Throws:
java.io.IOException
-
isWindowsConsole
public boolean isWindowsConsole()
- Specified by:
isWindowsConsole
in interfaceJnaSupport
-
isConsoleOutput
public boolean isConsoleOutput()
- Specified by:
isConsoleOutput
in interfaceJnaSupport
-
isConsoleInput
public boolean isConsoleInput()
- Specified by:
isConsoleInput
in interfaceJnaSupport
-
-