All Packages Class Hierarchy This Package Previous Next Index
Class pinball.log.LogReport
java.lang.Object
|
+----pinball.log.LogReport
- public class LogReport
- extends Object
This reads the log file and generates an html file with the statistics.
-
ballLocation
- Location of the ball found.
-
ballLocator
- Finds the ball location.
-
ballStats
- Does the statistics on the ball.
-
ballX
- The ball's location.
-
ballY
- The ball's location.
-
checkHeader
- Only does the header once.
-
display
- Says if the display should be on.
-
header
- Does the header report.
-
input
- File that data the data.
-
lastFrame
- The last frame viewed.
-
lastTime
- Time for the last frame.
-
logFileAccess
- Used to open the log files.
-
logFiles
- The log files that have been processed.
-
oncePerFrame
- Do this operation only once per frame.
-
oncePerGame
- Do this operation only once per game.
-
output
- File that will get the data.
-
timestamp
- Does the time stamp report.
-
viewer
- The area to view the video log.
-
LogReport(String, DataOutputStream, boolean)
- Creates the log reports.
-
begining()
- Write the begining of the html output file.
-
check(String)
-
Check the commands of the log file.
-
end()
- Write the end of the log file, and close it up.
-
middle()
- Read the lines of the log file.
-
process()
- Proces the log files.
input
private BufferedReader input
- File that data the data.
output
private PrintWriter output
- File that will get the data.
ballStats
private BallStats ballStats
- Does the statistics on the ball.
header
private HeaderReport header
- Does the header report.
timestamp
private TimeStampReport timestamp
- Does the time stamp report.
checkHeader
private boolean checkHeader
- Only does the header once.
logFiles
private Vector logFiles
- The log files that have been processed.
viewer
private Viewer viewer
- The area to view the video log.
lastFrame
private int lastFrame
- The last frame viewed.
ballX
private int ballX
- The ball's location.
ballY
private int ballY
- The ball's location.
ballLocator
private BallLocator ballLocator
- Finds the ball location.
ballLocation
private Point ballLocation
- Location of the ball found.
oncePerFrame
private boolean oncePerFrame
- Do this operation only once per frame.
oncePerGame
private boolean oncePerGame
- Do this operation only once per game.
lastTime
private long lastTime
- Time for the last frame. Used to pause between the frames.
logFileAccess
private LogFileAccess logFileAccess
- Used to open the log files.
display
private boolean display
- Says if the display should be on.
LogReport
public LogReport(String start,
DataOutputStream out,
boolean display)
- Creates the log reports.
- Parameters:
- start - The first log file to start with.
- out - the file that will have the generated report.
- display - says if the display should be turned on.
process
public void process()
- Proces the log files.
begining
private void begining()
- Write the begining of the html output file.
middle
private void middle()
- Read the lines of the log file.
check
private void check(String data)
- Check the commands of the log file.
- Parameters:
- data - the line from the log file.
end
private void end()
- Write the end of the log file, and close it up.
All Packages Class Hierarchy This Package Previous Next Index