jay.yydebug
public class yyInputStream extends InputStream implements KeyListener
While this implementation uses Java generics, code for a non-generic version has simply been commented out.
| Field Summary | |
|---|---|
| protected StringBuffer | line line edit buffer. |
| protected ArrayList | queue completed lines, ready to be read.
|
| Method Summary | |
|---|---|
| int | available() |
| void | close() |
| void | keyPressed(KeyEvent ke) this one ensures that you can only type at the end.
|
| void | keyReleased(KeyEvent ke) |
| void | keyTyped(KeyEvent ke) |
| int | read() |
| int | read(byte[] b, int off, int len) |
| long | skip(long len) returns 0: cannot skip on a terminal. |