Package org.jline.terminal.impl
Class ExecPty
java.lang.Object
org.jline.terminal.impl.AbstractPty
org.jline.terminal.impl.ExecPty
- All Implemented Interfaces:
Closeable,AutoCloseable,Pty
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jline.terminal.impl.AbstractPty
AbstractPty.FileDescriptorCreator, AbstractPty.NativeFileDescriptorCreator, AbstractPty.PtyInputStream, AbstractPty.ReflectionFileDescriptorCreator -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static Ptycurrent(TerminalProvider.Stream console) (package private) static Attributesprotected Stringprivate static Boolean(package private) static int(package private) static Sizeprotected InputStreamprotected voiddoSetAttr(Attributes attr) getAttr()getFlagsToSet(Attributes attr, Attributes current) getName()getSize()(package private) static intparseControlChar(String str) voidtoString()Methods inherited from class org.jline.terminal.impl.AbstractPty
checkInterrupted, getSlaveInput, newDescriptor, setAttrMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jline.terminal.spi.Pty
getSlaveInput, setAttr
-
Field Details
-
name
-
console
-
-
Constructor Details
-
ExecPty
-
-
Method Details
-
current
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getName
-
getMasterInput
- Specified by:
getMasterInputin interfacePty
-
getMasterOutput
- Specified by:
getMasterOutputin interfacePty
-
doGetSlaveInput
- Specified by:
doGetSlaveInputin classAbstractPty- Throws:
IOException
-
getSlaveOutput
- Specified by:
getSlaveOutputin interfacePty- Throws:
IOException
-
getAttr
- Specified by:
getAttrin interfacePty- Throws:
IOException
-
doSetAttr
- Specified by:
doSetAttrin classAbstractPty- Throws:
IOException
-
getFlagsToSet
-
getSize
- Specified by:
getSizein interfacePty- Throws:
IOException
-
doGetConfig
- Throws:
IOException
-
doGetAttr
- Throws:
IOException
-
doGetFlag
-
parseControlChar
-
doGetSize
- Throws:
IOException
-
doGetInt
- Throws:
IOException
-
setSize
- Specified by:
setSizein interfacePty- Throws:
IOException
-
toString
-