Package org.jline.terminal.impl
Class PosixPtyTerminal.InputStreamWrapper
java.lang.Object
java.io.InputStream
org.jline.utils.NonBlockingInputStream
org.jline.terminal.impl.PosixPtyTerminal.InputStreamWrapper
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
PosixPtyTerminal
-
Field Summary
FieldsFields inherited from class org.jline.utils.NonBlockingInputStream
EOF, READ_EXPIRED -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jline.utils.NonBlockingInputStream
peek, read, read, read, readBuffered, readBuffered, readBuffered, shutdownMethods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
in
-
closed
private volatile boolean closed
-
-
Constructor Details
-
InputStreamWrapper
-
-
Method Details
-
read
- Specified by:
readin classNonBlockingInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-