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
FieldsModifier and TypeFieldDescriptionprivate final AtomicBoolean
private final NonBlockingInputStream
Fields 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, shutdown
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
in
-
closed
-
-
Constructor Details
-
InputStreamWrapper
-
-
Method Details
-
read
- Specified by:
read
in classNonBlockingInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-