All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class eduni.simjava.Sim_outfile

java.lang.Object
   |
   +----eduni.simjava.Sim_outfile

public class Sim_outfile
extends Object
implements Sim_output
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. Updated for JDK1.1 to use PrintWriter not a PrintStream.

See Also:
Sim_output

Constructor Index

 o Sim_outfile()
Constructor

Method Index

 o close()
Closes the file
 o initialise()
Attempts to open the file
 o println(String)
Prints a trace line to the file

Constructors

 o Sim_outfile
 public Sim_outfile()
Constructor

Methods

 o initialise
 public void initialise()
Attempts to open the file

 o println
 public void println(String msg)
Prints a trace line to the file

Parameters:
msg - The message to print
 o close
 public void close()
Closes the file


All Packages  Class Hierarchy  This Package  Previous  Next  Index