public class ExecPty extends AbstractPty implements Pty
| Modifier | Constructor and Description |
|---|---|
protected |
ExecPty(String name,
boolean system) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static Pty |
current() |
protected String |
doGetConfig() |
protected InputStream |
doGetSlaveInput() |
protected void |
doSetAttr(Attributes attr) |
Attributes |
getAttr() |
protected List<String> |
getFlagsToSet(Attributes attr,
Attributes current) |
InputStream |
getMasterInput() |
OutputStream |
getMasterOutput() |
String |
getName() |
Size |
getSize() |
OutputStream |
getSlaveOutput() |
void |
setSize(Size size) |
String |
toString() |
checkInterrupted, getSlaveInput, setAttrclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSlaveInput, setAttrprotected ExecPty(String name, boolean system)
public static Pty current() throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic String getName()
public InputStream getMasterInput()
getMasterInput in interface Ptypublic OutputStream getMasterOutput()
getMasterOutput in interface Ptyprotected InputStream doGetSlaveInput() throws IOException
doGetSlaveInput in class AbstractPtyIOExceptionpublic OutputStream getSlaveOutput() throws IOException
getSlaveOutput in interface PtyIOExceptionpublic Attributes getAttr() throws IOException
getAttr in interface PtyIOExceptionprotected void doSetAttr(Attributes attr) throws IOException
doSetAttr in class AbstractPtyIOExceptionprotected List<String> getFlagsToSet(Attributes attr, Attributes current)
public Size getSize() throws IOException
getSize in interface PtyIOExceptionprotected String doGetConfig() throws IOException
IOExceptionpublic void setSize(Size size) throws IOException
setSize in interface PtyIOExceptionCopyright © 2019. All rights reserved.