|
|||||||||
| 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(java.lang.String message)
print a message to the console with no newline |
void |
consolePrintln(java.lang.Object message)
print a message to the console with a newline |
java.lang.String |
consoleReadln()
read a message in from the console. |
static void |
main(java.lang.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(java.lang.String[] args)
public void consolePrint(java.lang.String message)
ConsoleProxy
consolePrint in interface ConsoleProxymessage - the message to printpublic void consolePrintln(java.lang.Object message)
ConsoleProxy
consolePrintln in interface ConsoleProxymessage - the message to printpublic java.lang.String consoleReadln()
ConsoleProxy
consoleReadln in interface ConsoleProxy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||