org.oddjob.input
Class StdInInputHandler

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

public class StdInInputHandler
extends Object
implements InputHandler

An InputHandler that uses stdin to provide input.

Author:
rob

Constructor Summary
StdInInputHandler()
           
 
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

StdInInputHandler

public StdInInputHandler()
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.