org.erights.e.extern.file
Interface ConsoleInputHandler


public interface ConsoleInputHandler

Untamed:


Method Summary
 void handleInput(String line)
          Enabled: The console thread will send each line using this message.
 void handleProblem(Throwable problem)
          Enabled: If reading threw a problem, this is it.
 

Method Detail

handleInput

public void handleInput(String line)
Enabled: The console thread will send each line using this message.

Parameters:
line - A line of console input. Will be null on EOF.

handleProblem

public void handleProblem(Throwable problem)
Enabled: If reading threw a problem, this is it. If we're asked to handleProblem(), we also know the ConsoleThread has quit.



comments?