All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pinball.log.TimeStampReport

java.lang.Object
   |
   +----pinball.log.TimeStampReport

public class TimeStampReport
extends Object
This reads frame rates in the log file and generates an html file with the statistics.


Variable Index

 o avgFrameRate
Frame rate.
 o output
File that will get the data.

Constructor Index

 o TimeStampReport(PrintWriter)
Creates the TimeStamp reports for the log files.

Method Index

 o check(String)
Analyzes the frame rate information.
 o process(StringTokenizer)
Finds the frame rate statistics.
 o writeInfo()
Writes the information about the frame rate.

Variables

 o output
 private PrintWriter output
File that will get the data.

 o avgFrameRate
 private float avgFrameRate
Frame rate.

Constructors

 o TimeStampReport
 public TimeStampReport(PrintWriter out)
Creates the TimeStamp reports for the log files.

Parameters:
out - the output file.

Methods

 o process
 public void process(StringTokenizer tokens)
Finds the frame rate statistics.

Parameters:
tokens - the line of tokens to process.
 o check
 private void check(String data)
Analyzes the frame rate information.

Parameters:
data - the data from the log file.
 o writeInfo
 public void writeInfo()
Writes the information about the frame rate.


All Packages  Class Hierarchy  This Package  Previous  Next  Index