|
GridSim v3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Objecteduni.simjava.Sim_outfile
The default trace output class, which implements the Sim_output interface. This class implements output to a file called tracefile in the current directory, and is used by default in full Java applications. Note that it can't be used in applets, because they do not allow access to files.
Sim_output| Constructor Summary | |
Sim_outfile()
Constructor |
|
| Method Summary | |
void |
close()
Close the file |
void |
initialise()
Attempt to open the file |
void |
println(String msg)
Print a trace line to the file |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sim_outfile()
| Method Detail |
public void initialise()
initialise in interface Sim_outputpublic void println(String msg)
println in interface Sim_outputmsg - The message to printpublic void close()
close in interface Sim_output
|
GridSim v3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||