Package org.glassfish.admin.amx.util
Interface LineReader
-
- All Known Implementing Classes:
LineReaderImpl
public interface LineReaderReads a line, outputting an optional prompt first.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringreadLine(String prompt)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
-
-