Package org.swtpra1
Class HtmlLeaderboardTask
- java.lang.Object
-
- org.swtpra1.HtmlLeaderboardTask
-
- All Implemented Interfaces:
java.lang.Runnable
public class HtmlLeaderboardTask extends java.lang.Object implements java.lang.Runnable
Asynchronously parses the results of the tournament into a simple HTML table enviroment and writes it into the specified location.
-
-
Constructor Summary
Constructors Constructor Description HtmlLeaderboardTask(TournamentControl tournamentControl, java.io.File destination)
Given the tournament control object , creates and runnable to generate a html file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
Writes a simple representation of the current leaderboard as HTML into path given by "destination".
-
-
-
Constructor Detail
-
HtmlLeaderboardTask
public HtmlLeaderboardTask(TournamentControl tournamentControl, java.io.File destination)
Given the tournament control object , creates and runnable to generate a html file.- Parameters:
tournamentControl
- object controlling the tournamentdestination
- destination for the generated file
-
-