public class NullOutput extends java.lang.Object implements OutputType
| Constructor and Description | 
|---|
NullOutput()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes the file 
 | 
java.lang.String | 
getAppendix()
deliever the file appendix used for the specific format (e.g. html, txt) 
 | 
void | 
open(java.lang.String pathname,
    java.lang.String name)
opens a new file for writting the output 
 | 
void | 
receive(Message m)
Implement this method to define the behaviour of the messagereceiver when
 messages are sent to it. 
 | 
void | 
receive(Reporter r)
Implement this method to define the behaviour of the messagereceiver when
 reporters are sent to it. 
 | 
void | 
setTimeFloats(int timeFloats)  | 
public void setTimeFloats(int timeFloats)
public void open(java.lang.String pathname,
                 java.lang.String name)
OutputTypeopen in interface OutputTypepathname - String: path to write inname - String: name of the filepublic java.lang.String getAppendix()
OutputTypegetAppendix in interface OutputTypepublic void receive(Message m)
MessageReceiverreceive in interface MessageReceiverm - Message : The message sent to the messagereceiverpublic void receive(Reporter r)
MessageReceiverreceive in interface MessageReceiverr - Reporter : The reporter sent to the messagereceiverpublic void close()
OutputTypeclose in interface OutputType