Class AbstractInputHandler
java.lang.Object
org.codehaus.plexus.components.interactivity.AbstractInputHandler
- All Implemented Interfaces:
InputHandler
- Direct Known Subclasses:
DefaultInputHandler,JLineInputHandler
Base input handler, implements a default
readMultipleLines.- Author:
- Brett Porter
-
Constructor Details
-
AbstractInputHandler
public AbstractInputHandler()
-
-
Method Details
-
readMultipleLines
Description copied from interface:InputHandlerRead a set of lines. Equivalent to multiple calls toInputHandler.readLine(). Ends when an empty line is encountered.- Specified by:
readMultipleLinesin interfaceInputHandler- Returns:
- a list of lines read
- Throws:
IOException
-