public class ReportMultRowsFileOut extends ReportFileOut
WaitQueueReporter
where
there will be one row for the data of the waiting slaves and one row for the
data of the waiting masters and for the HistogramReporter
where there will be multiple rows, one for each segment (cell) of ther
interval. Note that if the framework is used as an Applet in webpages there
is no access to the disc and an alternative output on screen or into a
graphics window must be registered at the Experiment's MessageManager for
this type of messages. Errors affecting the java runtime are always displayed
on the system's standard output PrintStream.DEFAULT_FORMATTER
NORMAL_FILE_ACCESS
Constructor and Description |
---|
ReportMultRowsFileOut(int simTimeFloatingDigits,
java.lang.String formatter)
Creates a file to print reports into a HTML page.
|
Modifier and Type | Method and Description |
---|---|
static void |
offsetDescriptionsOneColumn()
Set report output such that nested Reporter descriptions
are offset by one column, thus improving readability at the expense
of space.
|
void |
receive(Reporter r)
Receives a reporter and writes its contents formatted to a HTML table
into a file in the user's default directory.
|
close, open, open, receive
getEndOfLine, getFileName, getSeparator, isEmpty, isOpen, setEndOfLine, setFileSystemAccess, setSeparator, write, writeln, writeSep
public ReportMultRowsFileOut(int simTimeFloatingDigits, java.lang.String formatter)
simTimeFloatingDigits
- int : The number of floating point digits of the simulation
time values to be displayedpublic void receive(Reporter r)
receive
in interface MessageReceiver
receive
in class ReportFileOut
r
- Reporter : The Reporter to be processedpublic static void offsetDescriptionsOneColumn()