Package org.jline.terminal.impl.exec
Class ExecPty
java.lang.Object
org.jline.terminal.impl.AbstractPty
org.jline.terminal.impl.exec.ExecPty
- All Implemented Interfaces:
Closeable,AutoCloseable,Pty
-
Field Summary
FieldsFields inherited from class org.jline.terminal.impl.AbstractPty
provider, systemStream -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExecPty(TerminalProvider provider, SystemStream systemStream, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static Ptycurrent(TerminalProvider provider, SystemStream systemStream) 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, getProvider, getSlaveInput, getSystemStream, 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
getProvider, getSlaveInput, getSystemStream, setAttr
-
Field Details
-
name
-
-
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
-