public class ExecPty extends Object 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() |
Attributes |
getAttr() |
protected List<String> |
getFlagsToSet(Attributes attr,
Attributes current) |
InputStream |
getMasterInput() |
OutputStream |
getMasterOutput() |
String |
getName() |
Size |
getSize() |
InputStream |
getSlaveInput() |
OutputStream |
getSlaveOutput() |
void |
setAttr(Attributes attr) |
void |
setSize(Size size) |
String |
toString() |
protected 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 Ptypublic InputStream getSlaveInput() throws IOException
getSlaveInput in interface PtyIOExceptionpublic OutputStream getSlaveOutput() throws IOException
getSlaveOutput in interface PtyIOExceptionpublic Attributes getAttr() throws IOException
getAttr in interface PtyIOExceptionpublic void setAttr(Attributes attr) throws IOException
setAttr in interface PtyIOExceptionprotected 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 © 2020. All rights reserved.