sleep.console
Interface ConsoleProxy
- ConsoleImplementation, TextConsole
public interface ConsoleProxy
a necessary interface for creating a front end to the sleep console. all messages read in or written out from the console
are done through a ConsoleProxy implementation.
void | consolePrint(String message)- print a message to the console with no newline
|
void | consolePrintln(Object message)- print a message to the console with a newline
|
String | consoleReadln()- read a message in from the console.
|
consolePrint
public void consolePrint(String message)
print a message to the console with no newline
message - the message to print
consolePrintln
public void consolePrintln(Object message)
print a message to the console with a newline
message - the message to print
consoleReadln
public String consoleReadln()
read a message in from the console. this method should block until a line is read.