public abstract class StandardFileOut extends java.lang.Object implements MessageReceiver
Constructor and Description |
---|
StandardFileOut(java.lang.String fileName)
Creates a StandardFileOut to print messages sent to this object to a file
to disc enclosing them in a HTML for the given experiment.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
receive(Message m)
Implement this method to define how the information carried in the given
message is represented in a file.
|
abstract void |
receive(Reporter r)
Implement this method to define how the information carried in the given
reporter is represented in a file.
|
public StandardFileOut(java.lang.String fileName)
fileName
- String : The name of the file to write output topublic abstract void receive(Message m)
receive
in interface MessageReceiver
m
- Message : The message sent to the messagereceiverpublic abstract void receive(Reporter r)
receive
in interface MessageReceiver
r
- Reporter : The reporter sent to the messagereceiver