scala
.
tools
.
jline
.
console
ConsoleReader
class
ConsoleReader
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Type Hierarchy
Learn more about scaladoc diagrams
ConsoleReader
AnyRef
Ordering
Alphabetic
By inheritance
Inherited
ConsoleReader
AnyRef
Any
Implicitly
by StringAdd
by StringFormat
by Ensuring
by ArrowAssoc
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
ConsoleReader
()
new
ConsoleReader
(
in:
InputStream
,
out:
Writer
)
new
ConsoleReader
(
in:
InputStream
,
out:
Writer
,
term:
Terminal
)
new
ConsoleReader
(
in:
InputStream
,
out:
Writer
,
bindings:
InputStream
,
term:
Terminal
)
new
ConsoleReader
(
in:
InputStream
,
out:
OutputStream
,
bindings:
InputStream
,
term:
Terminal
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
+
(
other:
String
)
:
String
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
StringAdd
[
ConsoleReader
] performed by method StringAdd in scala.Predef.
Definition Classes
StringAdd
def
->
[
B
]
(
y:
B
)
: (
ConsoleReader
,
B
)
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
ArrowAssoc
[
ConsoleReader
] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Annotations
@inline
()
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
addCompleter
(
completer:
Completer
)
:
Boolean
def
addTriggeredAction
(
c:
Char
,
listener:
ActionListener
)
:
Unit
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
back
(
num:
Int
)
:
Unit
Attributes
protected[
scala.tools.jline.console
]
def
backspace
()
:
Boolean
def
beep
()
:
Unit
def
clearScreen
()
:
Boolean
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
complete
()
:
Boolean
Attributes
protected[
scala.tools.jline.console
]
final
def
delete
()
:
Boolean
final
def
drawLine
()
:
Unit
def
ensuring
(
cond: (
ConsoleReader
) ⇒
Boolean
,
msg: ⇒
Any
)
:
ConsoleReader
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
Ensuring
[
ConsoleReader
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond: (
ConsoleReader
) ⇒
Boolean
)
:
ConsoleReader
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
Ensuring
[
ConsoleReader
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond:
Boolean
,
msg: ⇒
Any
)
:
ConsoleReader
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
Ensuring
[
ConsoleReader
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
def
ensuring
(
cond:
Boolean
)
:
ConsoleReader
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
Ensuring
[
ConsoleReader
] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
expandEvents
(
str:
String
)
:
String
Attributes
protected[
scala.tools.jline.console
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flush
()
:
Unit
def
formatted
(
fmtstr:
String
)
:
String
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
StringFormat
[
ConsoleReader
] performed by method StringFormat in scala.Predef.
Definition Classes
StringFormat
Annotations
@inline
()
def
getAutoprintThreshold
()
:
Int
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getCompleters
()
:
Collection
[
Completer
]
def
getCompletionHandler
()
:
CompletionHandler
def
getCursorBuffer
()
:
CursorBuffer
def
getEchoCharacter
()
:
Character
def
getExpandEvents
()
:
Boolean
def
getHistory
()
:
History
def
getInput
()
:
InputStream
def
getOutput
()
:
Writer
def
getPrompt
()
:
String
def
getTerminal
()
:
Terminal
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
isBellEnabled
()
:
Boolean
def
isHistoryEnabled
()
:
Boolean
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPaginationEnabled
()
:
Boolean
def
killLine
()
:
Boolean
def
moveCursor
(
num:
Int
)
:
Int
def
moveToEnd
()
:
Boolean
Attributes
protected[
scala.tools.jline.console
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
paste
()
:
Boolean
final
def
print
(
s:
CharSequence
)
:
Unit
def
printBindings
()
:
Unit
def
printColumns
(
items:
Collection
[_ <:
CharSequence
]
)
:
Unit
def
printSearchStatus
(
searchTerm:
String
,
match:
String
)
:
Unit
final
def
println
()
:
Unit
final
def
println
(
s:
CharSequence
)
:
Unit
final
def
putString
(
str:
CharSequence
)
:
Unit
final
def
readCharacter
(
allowed:
<repeated...>
[
Char
]
)
:
Int
def
readLine
(
prompt:
String
,
mask:
Character
)
:
String
def
readLine
(
prompt:
String
)
:
String
def
readLine
(
mask:
Character
)
:
String
def
readLine
()
:
String
final
def
readVirtualKey
()
:
Int
final
def
redrawLine
()
:
Unit
def
removeCompleter
(
completer:
Completer
)
:
Boolean
final
def
replace
(
num:
Int
,
replacement:
String
)
:
Boolean
final
def
resetLine
()
:
Boolean
Attributes
protected[
scala.tools.jline.console
]
def
resetPromptLine
(
prompt:
String
,
buffer:
String
,
cursorDest:
Int
)
:
Unit
def
restoreLine
(
originalPrompt:
String
,
cursorDest:
Int
)
:
Unit
def
searchBackwards
(
searchTerm:
String
,
startIndex:
Int
,
startsWith:
Boolean
)
:
Int
def
searchBackwards
(
searchTerm:
String
)
:
Int
def
searchBackwards
(
searchTerm:
String
,
startIndex:
Int
)
:
Int
def
setAutoprintThreshold
(
threshold:
Int
)
:
Unit
def
setBellEnabled
(
enabled:
Boolean
)
:
Unit
def
setCompletionHandler
(
handler:
CompletionHandler
)
:
Unit
final
def
setCursorPosition
(
position:
Int
)
:
Boolean
def
setEchoCharacter
(
c:
Character
)
:
Unit
def
setExpandEvents
(
expand:
Boolean
)
:
Unit
def
setHistory
(
history:
History
)
:
Unit
def
setHistoryEnabled
(
enabled:
Boolean
)
:
Unit
def
setPaginationEnabled
(
enabled:
Boolean
)
:
Unit
def
setPrompt
(
prompt:
String
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
→
[
B
]
(
y:
B
)
: (
ConsoleReader
,
B
)
Implicit information
This member is added by an implicit conversion from
ConsoleReader
to
ArrowAssoc
[
ConsoleReader
] performed by method ArrowAssoc in scala.Predef.
Definition Classes
ArrowAssoc
Inherited from
AnyRef
Inherited from
Any
Inherited by implicit conversion StringAdd from
ConsoleReader
to
StringAdd
[
ConsoleReader
]
Inherited by implicit conversion StringFormat from
ConsoleReader
to
StringFormat
[
ConsoleReader
]
Inherited by implicit conversion Ensuring from
ConsoleReader
to
Ensuring
[
ConsoleReader
]
Inherited by implicit conversion ArrowAssoc from
ConsoleReader
to
ArrowAssoc
[
ConsoleReader
]
Ungrouped