class WrappedInputStream extends InputStream implements Closeable
In order to modify JLine Behavior, we need to wrap the IO streams so we can hack into them This allows autoindent and redisplaying the chars typed so far after exceptions during completion
Type | Name and description |
---|---|
private ByteArrayInputStream |
inserted |
private InputStream |
wrapped |
Constructor and description |
---|
WrappedInputStream
(InputStream wrapped) Construct a new IO container using system streams. |
WrappedInputStream
() |
Methods inherited from class | Name |
---|---|
class InputStream |
read, read, read, close, mark, readAllBytes, readNBytes, readNBytes, transferTo, skip, available, markSupported, reset, nullInputStream, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Construct a new IO container using system streams.
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.