Class Overview
Provides access to terminal line settings via stty.
Summary
Protected Methods |
static
int
|
getProperty(String name, String stty)
Parses a stty output (provided by stty -a) and return the value of a given property.
|
[Expand]
Inherited Methods |
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)
|
|
Constants
public
static
final
String
DEFAULT_SH
public
static
final
String
DEFAULT_STTY
public
static
final
String
JLINE_SH
Constant Value:
"jline.sh"
public
static
final
String
JLINE_STTY
Constant Value:
"jline.stty"
Public Constructors
public
TerminalLineSettings
()
Public Methods
public
int
getProperty
(String name)
Get the value of a stty property, including the management of a cache.
Protected Methods
protected
static
int
getProperty
(String name, String stty)
Parses a stty output (provided by stty -a) and return the value of a given property.
Parameters
name
| property name. |
stty
| string resulting of stty -a execution. |
Returns
- value of the given property.