Package org.jline.terminal.spi
Interface TerminalExt
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,java.io.Flushable
,Terminal
- All Known Implementing Classes:
AbstractPosixTerminal
,AbstractTerminal
,AbstractWindowsTerminal
,DumbTerminal
,ExternalTerminal
,LineDisciplineTerminal
,NativeWinSysTerminal
,PosixPtyTerminal
,PosixSysTerminal
public interface TerminalExt extends Terminal
TheTerminalExt
interface is implemented byTerminal
s and provides access to the Terminal's internals.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jline.terminal.Terminal
Terminal.MouseTracking, Terminal.Signal, Terminal.SignalHandler
-
-
Field Summary
-
Fields inherited from interface org.jline.terminal.Terminal
TYPE_DUMB, TYPE_DUMB_COLOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TerminalProvider
getProvider()
Returns theTerminalProvider
that created this terminal ornull
if the terminal was created with no provider.SystemStream
getSystemStream()
The underlying system stream, may beSystemStream.Output
,SystemStream.Error
, ornull
if this terminal is not bound to a system stream.-
Methods inherited from interface org.jline.terminal.Terminal
canPauseResume, echo, echo, encoding, enterRawMode, flush, getAttributes, getBooleanCapability, getBufferSize, getCursorPosition, getHeight, getName, getNumericCapability, getPalette, getSize, getStringCapability, getType, getWidth, handle, hasFocusSupport, hasMouseSupport, input, output, pause, pause, paused, puts, raise, reader, readMouseEvent, readMouseEvent, resume, setAttributes, setSize, trackFocus, trackMouse, writer
-
-
-
-
Method Detail
-
getProvider
TerminalProvider getProvider()
Returns theTerminalProvider
that created this terminal ornull
if the terminal was created with no provider.
-
getSystemStream
SystemStream getSystemStream()
The underlying system stream, may beSystemStream.Output
,SystemStream.Error
, ornull
if this terminal is not bound to a system stream.
-
-