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.PtyInputStream
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static Pty
current
(TerminalProvider.Stream console) (package private) static Attributes
protected String
private static Boolean
(package private) static int
(package private) static Size
protected InputStream
protected void
doSetAttr
(Attributes attr) getAttr()
getFlagsToSet
(Attributes attr, Attributes current) getName()
getSize()
(package private) static int
parseControlChar
(String str) void
toString()
Methods inherited from class org.jline.terminal.impl.AbstractPty
checkInterrupted, getSlaveInput, setAttr
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getName
-
getMasterInput
- Specified by:
getMasterInput
in interfacePty
-
getMasterOutput
- Specified by:
getMasterOutput
in interfacePty
-
doGetSlaveInput
- Specified by:
doGetSlaveInput
in classAbstractPty
- Throws:
IOException
-
getSlaveOutput
- Specified by:
getSlaveOutput
in interfacePty
- Throws:
IOException
-
getAttr
- Specified by:
getAttr
in interfacePty
- Throws:
IOException
-
doSetAttr
- Specified by:
doSetAttr
in classAbstractPty
- Throws:
IOException
-
getFlagsToSet
-
getSize
- Specified by:
getSize
in interfacePty
- Throws:
IOException
-
doGetConfig
- Throws:
IOException
-
doGetAttr
- Throws:
IOException
-
doGetFlag
-
parseControlChar
-
doGetSize
- Throws:
IOException
-
doGetInt
- Throws:
IOException
-
setSize
- Specified by:
setSize
in interfacePty
- Throws:
IOException
-
toString
-