Interface LineReader

  • All Known Implementing Classes:
    LineReaderImpl

    public interface LineReader
    Reads a line, outputting an optional prompt first.
    • Method Detail

      • readLine

        String readLine​(String prompt)
                 throws IOException
        Reads a line, outputting an optional prompt first. If the prompt is null then no prompt is printed.
        Throws:
        IOException