|
GridSim v3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecteduni.simjava.Sim_reportfile
This class is used to produce the simulation's report when running in standalone mode. It produces a file and is accessed to append information to it.
This class is used internally by Sim_system
to produce the simulation's report and
should not be used by the user.
Sim_system
Field Summary | |
(package private) String |
filename
|
(package private) PrintWriter |
output
|
Constructor Summary | |
Sim_reportfile(String filename)
Create the report file with the given name. |
Method Summary | |
void |
append_report(String line)
Append a line of information to the report file. |
void |
close_report()
Closes the report file upon simulation termination. |
void |
setup_report()
Sets up the report file at the beginning of the simulation. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
PrintWriter output
String filename
Constructor Detail |
public Sim_reportfile(String filename)
filename
- The name of the report fileMethod Detail |
public void setup_report()
setup_report
in interface Sim_reporter
public void append_report(String line)
append_report
in interface Sim_reporter
line
- The line of information to appendpublic void close_report()
close_report
in interface Sim_reporter
|
GridSim v3.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |