|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsleep.console.TextConsole
public class TextConsole
Default implementation of the console proxy class. Provides a STDIN/STDOUT implementation of the sleep console.
Constructor Summary | |
---|---|
TextConsole()
|
Method Summary | |
---|---|
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. |
static void |
main(String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextConsole()
Method Detail |
---|
public static void main(String[] args)
public void consolePrint(String message)
ConsoleProxy
consolePrint
in interface ConsoleProxy
message
- the message to printpublic void consolePrintln(Object message)
ConsoleProxy
consolePrintln
in interface ConsoleProxy
message
- the message to printpublic String consoleReadln()
ConsoleProxy
consoleReadln
in interface ConsoleProxy
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |