Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindbright.terminal
Class TerminalCapture

    java.lang.Object
      com.mindbright.terminal.TerminalCapture

All Implemented Interfaces:
  TerminalOutputListener

public final class TerminalCapture
extends java.lang.Object
implements TerminalOutputListener

Constructor Summary
`TerminalCapture(java.io.OutputStream captureTarget)`

Method Summary
`void` | `endCapture()`
`java.io.OutputStream` | `getTarget()`
`void` | `startCapture(TerminalWin terminal)`
`void` | `write(char c)` A single character which is written to the terminal.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TerminalCapture

    public TerminalCapture(java.io.OutputStream captureTarget)

Method Detail

### startCapture

    public void startCapture(TerminalWin terminal)

### endCapture

    public void endCapture()

### getTarget

    public java.io.OutputStream getTarget()

### write

    public void write(char c)

  Description copied from interface: `TerminalOutputListener`
  A single character which is written to the terminal.

  Specified by:
    `write` in interface `TerminalOutputListener`
  Parameters:
    `c` - charcter written

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD