Package jay.yydebug

Class yyInputStream

  • All Implemented Interfaces:
    KeyListener, Closeable, AutoCloseable, EventListener

    public class yyInputStream
    extends InputStream
    implements KeyListener
    used to reroute standard input from a TextArea. Feeds all read methods from listening to typed keys. Should not deadlock because one should generally not read from within the event thread.

    While this implementation uses Java generics, code for a non-generic version has simply been commented out.