org.codehaus.plexus.components.interactivity
public interface InputHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
readLine()
Read a single line of input, swalling the newline at the end.
|
java.util.List |
readMultipleLines()
Read a set of lines.
|
java.lang.String |
readPassword()
Read a single line of input, swalling the newline at the end.
|
java.lang.String readLine() throws java.io.IOException
java.io.IOException
java.lang.String readPassword() throws java.io.IOException
java.io.IOException
java.util.List readMultipleLines() throws java.io.IOException
readLine()
.
Ends when an empty line is encountered.java.io.IOException
Copyright © 2014. All Rights Reserved.