public class ProcessHandlerTtyConnector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.nio.charset.Charset |
myCharset |
Constructor and Description |
---|
ProcessHandlerTtyConnector(ProcessHandler processHandler,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getName() |
boolean |
init(Questioner q) |
boolean |
isConnected() |
int |
read(char[] buf,
int offset,
int length) |
void |
resize(java.awt.Dimension termSize,
java.awt.Dimension pixelSize) |
int |
waitFor() |
void |
write(byte[] bytes) |
void |
write(java.lang.String string) |
public ProcessHandlerTtyConnector(ProcessHandler processHandler, java.nio.charset.Charset charset)
public boolean init(Questioner q)
public void close()
public void resize(java.awt.Dimension termSize, java.awt.Dimension pixelSize)
public java.lang.String getName()
public int read(char[] buf, int offset, int length) throws java.io.IOException
java.io.IOException
public void write(byte[] bytes) throws java.io.IOException
java.io.IOException
public boolean isConnected()
public void write(java.lang.String string) throws java.io.IOException
java.io.IOException
public int waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException