jaige.statistics
Class HTMLStatsGenerator

java.lang.Object
  extended by jaige.statistics.HTMLStatsGenerator

public class HTMLStatsGenerator
extends java.lang.Object


Constructor Summary
HTMLStatsGenerator()
           
 
Method Summary
 void loadFooter(java.io.File footer)
           
 void loadHeader(java.io.File header)
           
 void setExtension(java.lang.String fileExtension)
           
 void setFooter(java.lang.String footer)
           
 void setHeader(java.lang.String header)
           
 void setOutputFolder(java.io.File folder)
           
 void setSizeInfo(java.lang.String s)
           
 void setTitle(java.lang.String title)
           
 void writeMatchupStandings(java.util.List<AI> players, SeasonStats stats)
           
 void writePlayerDirectoryPage(java.util.List<AI> players)
           
 void writePlayerPages(java.util.List<AI> players, SeasonStats season, AIAnalysis analysis)
           
 void writeStandings(java.util.List<AI> players, SeasonStats stats, boolean tournamentLink)
           
 void writeTournament(java.util.List<AI> players, Tournament tournament, SeasonStats stats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLStatsGenerator

public HTMLStatsGenerator()
Method Detail

setSizeInfo

public void setSizeInfo(java.lang.String s)

setExtension

public void setExtension(java.lang.String fileExtension)

setTitle

public void setTitle(java.lang.String title)

setHeader

public void setHeader(java.lang.String header)

setFooter

public void setFooter(java.lang.String footer)

loadHeader

public void loadHeader(java.io.File header)
                throws java.io.IOException
Throws:
java.io.IOException

loadFooter

public void loadFooter(java.io.File footer)
                throws java.io.IOException
Throws:
java.io.IOException

setOutputFolder

public void setOutputFolder(java.io.File folder)

writeStandings

public void writeStandings(java.util.List<AI> players,
                           SeasonStats stats,
                           boolean tournamentLink)
                    throws java.io.IOException
Throws:
java.io.IOException

writeMatchupStandings

public void writeMatchupStandings(java.util.List<AI> players,
                                  SeasonStats stats)
                           throws java.io.IOException
Throws:
java.io.IOException

writePlayerDirectoryPage

public void writePlayerDirectoryPage(java.util.List<AI> players)
                              throws java.io.IOException
Throws:
java.io.IOException

writePlayerPages

public void writePlayerPages(java.util.List<AI> players,
                             SeasonStats season,
                             AIAnalysis analysis)
                      throws java.io.IOException
Throws:
java.io.IOException

writeTournament

public void writeTournament(java.util.List<AI> players,
                            Tournament tournament,
                            SeasonStats stats)
                     throws java.io.IOException
Throws:
java.io.IOException