public class JLineInputHandler extends AbstractInputHandler implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
Modifier and Type | Field and Description |
---|---|
private jline.console.ConsoleReader |
consoleReader |
ROLE
Constructor and Description |
---|
JLineInputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
initialize() |
java.lang.String |
readLine()
Read a single line of input, swalling the newline at the end.
|
java.lang.String |
readPassword()
Read a single line of input, swalling the newline at the end.
|
readMultipleLines
public java.lang.String readLine() throws java.io.IOException
InputHandler
readLine
in interface InputHandler
java.io.IOException
public java.lang.String readPassword() throws java.io.IOException
InputHandler
readPassword
in interface InputHandler
java.io.IOException
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException