org.oddjob.input
Class ConsoleInputHandler

java.lang.Object
  extended by org.oddjob.input.ConsoleInputHandler
All Implemented Interfaces:
InputHandler

public class ConsoleInputHandler
extends Object
implements InputHandler

An InputHandler that uses the console to provide input.

Author:
rob

Constructor Summary
ConsoleInputHandler()
           
 
Method Summary
 Properties handleInput(InputRequest[] requests)
          Handle a series of input requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleInputHandler

public ConsoleInputHandler()
Method Detail

handleInput

public Properties handleInput(InputRequest[] requests)
Description copied from interface: InputHandler
Handle a series of input requests. The series is intended to be short and simple such as username and password.

Specified by:
handleInput in interface InputHandler
Parameters:
requests - The requests.
Returns:
The results. These are serializable so they can be persisted by Oddjob.