程序包 jline
类 ConsoleReaderInputStream
java.lang.Object
java.io.InputStream
java.io.SequenceInputStream
jline.ConsoleReaderInputStream
- 所有已实现的接口:
Closeable
,AutoCloseable
An
InputStream
implementation that wraps a ConsoleReader
.
It is useful for setting up the System.in
for a generic
console.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static void
Restore the originalSystem.in
input stream.static void
setIn()
static void
setIn
(ConsoleReader reader) 从类继承的方法 java.io.SequenceInputStream
available, close, read, read
从类继承的方法 java.io.InputStream
mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
构造器详细资料
-
ConsoleReaderInputStream
-
-
方法详细资料
-
setIn
- 抛出:
IOException
-
setIn
-
restoreIn
public static void restoreIn()Restore the originalSystem.in
input stream.
-