public class TraceFileOut extends TableOutput implements MessageReceiver
DEFAULT_FORMATTERNORMAL_FILE_ACCESS| Constructor and Description |
|---|
TraceFileOut(int simTimeFloatingDigits,
java.lang.String format)
Creates a TraceOut to print tracemessages into a HTML page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this TraceOut.
|
void |
open(java.lang.String name)
Opens a new file with the given file- and pathname for writing tracenotes
into a HTML table.
|
void |
open(java.lang.String pathname,
java.lang.String name)
Opens a new file with the given file- and pathname for writing tracenotes
into a HTML table.
|
void |
receive(Message m)
Receives a TraceNote and writes its contents formatted to a HTML table
into a file in the user's default directory.
|
void |
receive(Reporter r)
Reporters are not handled by this class so this method simply returns.
|
getEndOfLine, getFileName, getSeparator, isEmpty, isOpen, setEndOfLine, setFileSystemAccess, setSeparator, write, writeln, writeSeppublic TraceFileOut(int simTimeFloatingDigits,
java.lang.String format)
simTimeFloatingDigits - int : The number of floating point digits of the simulation
time values to be displayedpublic void close()
close in class TableOutputpublic void open(java.lang.String name)
open in class TableOutputname - java.lang.String : The name of the file to be createdpublic void open(java.lang.String pathname,
java.lang.String name)
name - java.lang.String : The name of the file to be createdpathname - java.lang.String: The name of the output path for the filepublic void receive(Message m)
receive in interface MessageReceiverm - Message : The TraceNote to be written to file in HTML-table
formatpublic void receive(Reporter r)
receive in interface MessageReceiverr - Reporter : The reporter to be processed