|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.io.InputStream
java.io.SequenceInputStream
jline.ConsoleReaderInputStream
public class ConsoleReaderInputStream
An InputStream implementation that wraps a ConsoleReader.
It is useful for setting up the System.in for a generic
console.
| Constructor Summary | |
|---|---|
ConsoleReaderInputStream(ConsoleReader reader)
|
|
| Method Summary | |
|---|---|
static void |
restoreIn()
Restore the original System.in input stream. |
static void |
setIn()
|
static void |
setIn(ConsoleReader reader)
|
| Methods inherited from class java.io.SequenceInputStream |
|---|
available, close, read, read |
| Methods inherited from class java.io.InputStream |
|---|
mark, markSupported, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleReaderInputStream(ConsoleReader reader)
| Method Detail |
|---|
public static void setIn()
throws java.io.IOException
java.io.IOExceptionpublic static void setIn(ConsoleReader reader)
public static void restoreIn()
System.in input stream.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||