com.mindbright.terminal
public final class TerminalCapture extends java.lang.Object implements TerminalOutputListener
Constructor and Description |
---|
TerminalCapture(java.io.OutputStream captureTarget) |
Modifier and Type | Method and Description |
---|---|
void |
endCapture() |
java.io.OutputStream |
getTarget() |
void |
startCapture(TerminalWin terminal) |
void |
write(char c)
A single character which is written to the terminal.
|
public void startCapture(TerminalWin terminal)
public void endCapture()
public java.io.OutputStream getTarget()
public void write(char c)
TerminalOutputListener
write
in interface TerminalOutputListener
c
- charcter written