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.IOExceptionjava.lang.String readPassword()
throws java.io.IOException
java.io.IOExceptionjava.util.List readMultipleLines()
throws java.io.IOException
readLine().
Ends when an empty line is encountered.java.io.IOExceptionCopyright © 2012. All Rights Reserved.