public interface IReaderLogger extends ILogger
Interface to read a line from the System.in
input stream.
ILogger
since code that needs to ask for
a command-line input will most likely also want to use ILogger.info(String, Object...)
to print information such as an input prompt.Modifier and Type | Method and Description |
---|---|
int |
readLine(byte[] inputBuffer)
Reads a line from
System.in . |
int readLine(@NonNull byte[] inputBuffer) throws java.io.IOException
Reads a line from System.in
.
inputBuffer
- A non-null buffer where to place the input.java.io.IOException
- as returned by {code System.in.read()}.