public interface InteractiveModeConsole extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this console.
|
boolean |
isOpen()
Returns
true if this console has already been open. |
void |
open()
Opens this console.
|
void |
print(String text)
Prints the text.
|
String |
readLine()
Reads the line.
|
void open()
boolean isOpen()
true if this console has already been open.true if this console has already been open.String readLine() throws IOException
IOException - reading exception.void print(String text)
text - the text.void close()
close in interface AutoCloseableCopyright © 2016–2019 Softelnet. All rights reserved.