|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcynosurex.lang.SystemOutReceiver
public class SystemOutReceiver
This class receives the text messages through the TextReceiver interface and outputs the message to the screen using the System.out.print () or the System.out.println () method.
TextReceiver
Constructor Summary | |
---|---|
SystemOutReceiver()
|
Method Summary | |
---|---|
void |
receiveText(java.lang.String text)
This method outputs the text message to the standard out via the System.out.print () or the System.out.println () method. |
void |
setAutoNewLine(boolean state)
Set whether new line character(s) is automatically added. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemOutReceiver()
Method Detail |
---|
public void receiveText(java.lang.String text)
receiveText
in interface TextReceiver
text
- The text message to output.public void setAutoNewLine(boolean state)
state
- True or false.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |