public interface StringInput
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
int |
read()
Reads a single character.
|
java.lang.String |
readLine()
Reads a single string.
|
java.lang.String readLine() throws java.io.IOException
java.io.IOException
- IOExceptionint read() throws java.io.IOException
java.io.IOException
- If an I/O error occurs