|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSim_outfile
public class 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_output
public void println(String msg)
println
in interface Sim_output
msg
- The message to printpublic void close()
close
in interface Sim_output
|
SimJava 2.0.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |