public class ErrorFileOut extends TableOutput implements MessageReceiver
DEFAULT_FORMATTER
NORMAL_FILE_ACCESS
Constructor and Description |
---|
ErrorFileOut(int simTimeFloatingDigits,
java.lang.String format)
Creates an ErrorOut to print ErrorMessages 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 filename for writing ErrorMessages 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
ErrorMessages 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, writeSep
public ErrorFileOut(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 TableOutput
public void open(java.lang.String name)
open
in class TableOutput
name
- 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 output path the file is written topublic void receive(Message m)
receive
in interface MessageReceiver
m
- Message : The TraceNote to be written to file in HTML-table
formatpublic void receive(Reporter r)
receive
in interface MessageReceiver
r
- Reporter : The Reporter to be processed