public class DebugFileOut extends TableOutput implements MessageReceiver
DEFAULT_FORMATTERNORMAL_FILE_ACCESS| Constructor and Description |
|---|
DebugFileOut(int simTimeFloatingDigits,
java.lang.String format)
Creates a DebugOut to print DebugNotes into a HTML page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this DebugOut.
|
void |
open(java.lang.String name)
Opens a new file with the given filename for writing DebugNotes 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 DebugNotes
into a HTML table.
|
void |
receive(Message m)
Receives a debugnote 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 DebugFileOut(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 file's output pathpublic void receive(Message m)
receive in interface MessageReceiverm - Message : The DebugNote to be written to file in HTML-table
formatpublic void receive(Reporter r)
receive in interface MessageReceiverr - Reporter : The reporter to be processed