Package org.jline.terminal.impl
Class AbstractPty
java.lang.Object
org.jline.terminal.impl.AbstractPty
- All Implemented Interfaces:
Closeable,AutoCloseable,Pty
- Direct Known Subclasses:
ExecPty,JansiNativePty,JnaNativePty,JniNativePty
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface(package private) static class(package private) class(package private) static classReflection based file descriptor creator. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Attributesprivate static AbstractPty.FileDescriptorCreatorprotected final TerminalProviderprivate booleanprotected final SystemStream -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected abstract InputStreamprotected abstract voiddoSetAttr(Attributes attr) protected static FileDescriptornewDescriptor(int fd) voidsetAttr(Attributes attr) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.terminal.spi.Pty
getAttr, getMasterInput, getMasterOutput, getSize, getSlaveOutput, setSize
-
Field Details
-
provider
-
systemStream
-
current
-
skipNextLf
private boolean skipNextLf -
fileDescriptorCreator
-
-
Constructor Details
-
AbstractPty
-
-
Method Details
-
setAttr
- Specified by:
setAttrin interfacePty- Throws:
IOException
-
getSlaveInput
- Specified by:
getSlaveInputin interfacePty- Throws:
IOException
-
doSetAttr
- Throws:
IOException
-
doGetSlaveInput
- Throws:
IOException
-
checkInterrupted
- Throws:
InterruptedIOException
-
getProvider
- Specified by:
getProviderin interfacePty
-
getSystemStream
- Specified by:
getSystemStreamin interfacePty
-
newDescriptor
-