public class ScreenOutput extends java.lang.Object implements MessageReceiver
System.out output
stream.| Constructor and Description |
|---|
ScreenOutput()
Constructs a simple ScreenOutput object to print to
System.out in lines. |
| Modifier and Type | Method and Description |
|---|---|
void |
receive(Message m)
Messages given as parameter to this method have their description
attribute printed in one String on the screen.
|
void |
receive(Reporter r)
The method to print reports on screen is not implemented since reports
need some grouping that is done by the classes that print to files.
|
public ScreenOutput()
System.out in lines.public void receive(Message m)
receive in interface MessageReceiverm - desmoj.report.Message : The message to be printed on screenpublic void receive(Reporter r)
receive in interface MessageReceiverr - desmoj.report.Reporter : The reporter to be printed