JLine
Package Index
|
Class Index
jline
jline.console
jline.console.completer
jline.console.history
jline.console.internal
jline.internal
Interfaces
Terminal
Classes
AnsiWindowsTerminal
NoInterruptUnixTerminal
TerminalFactory
TerminalSupport
UnixTerminal
UnsupportedTerminal
WindowsTerminal
Enums
TerminalFactory.Flavor
TerminalFactory.Type
WindowsTerminal.ConsoleMode
Package Index
|
Class Index
Summary:
Inherited Constants
|
Ctors
|
Inherited Methods
|
[Expand All]
public class
UnsupportedTerminal
extends
TerminalSupport
java.lang.Object
↳
jline.TerminalSupport
↳
jline.UnsupportedTerminal
Class Overview
An unsupported terminal.
Summary
[Expand]
Inherited Constants
From class
jline.TerminalSupport
int
DEFAULT_HEIGHT
int
DEFAULT_WIDTH
Public Constructors
UnsupportedTerminal
()
[Expand]
Inherited Methods
From class
jline.TerminalSupport
int
getHeight
()
String
getOutputEncoding
()
int
getWidth
()
boolean
hasWeirdWrap
()
Defaults to true which was the behaviour before this method was added.
void
init
()
synchronized boolean
isAnsiSupported
()
synchronized boolean
isEchoEnabled
()
final boolean
isSupported
()
void
reset
()
void
restore
()
synchronized void
setAnsiSupported
(boolean supported)
synchronized void
setEchoEnabled
(boolean enabled)
InputStream
wrapInIfNeeded
(
InputStream
in)
When using native support, return the InputStream to use for reading characters else return the input stream passed as a parameter.
OutputStream
wrapOutIfNeeded
(
OutputStream
out)
Subclass to change behavior if needed.
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
From interface
jline.Terminal
abstract int
getHeight
()
abstract
String
getOutputEncoding
()
abstract int
getWidth
()
abstract boolean
hasWeirdWrap
()
For terminals that don't wrap when character is written in last column, only when the next character is written.
abstract void
init
()
abstract boolean
isAnsiSupported
()
abstract boolean
isEchoEnabled
()
abstract boolean
isSupported
()
abstract void
reset
()
abstract void
restore
()
abstract void
setEchoEnabled
(boolean enabled)
abstract
InputStream
wrapInIfNeeded
(
InputStream
in)
When using native support, return the InputStream to use for reading characters else return the input stream passed as a parameter.
abstract
OutputStream
wrapOutIfNeeded
(
OutputStream
out)
When ANSI is not natively handled, the output will have to be wrapped.
Public Constructors
public
UnsupportedTerminal
()