|
SimJava 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectSim_reportfile
public class 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)
The - name of the report file| Method Detail |
|---|
public void setup_report()
setup_report in interface Sim_reporterpublic void append_report(String line)
append_report in interface Sim_reporterline - The line of information to append to the reportpublic void close_report()
close_report in interface Sim_reporter
|
SimJava 2.0.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||