public class LineReaderImpl extends Object implements LineReader
Constructor and Description |
---|
LineReaderImpl(InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
String |
readLine(String prompt)
Reads a line, outputting an optional prompt first.
|
public LineReaderImpl(InputStream inputStream)
public String readLine(String prompt) throws IOException
LineReader
readLine
in interface LineReader
IOException
Copyright © 2018. All rights reserved.