org.oddjob.input
Class StdInInputHandler
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StdInInputHandler
public StdInInputHandler()
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.