com.tngtech.jgiven.report.html
Class StaticHtmlReportGenerator

java.lang.Object
  extended by com.tngtech.jgiven.report.html.StaticHtmlReportGenerator
All Implemented Interfaces:
ReportModelFileHandler

public class StaticHtmlReportGenerator
extends java.lang.Object
implements ReportModelFileHandler


Constructor Summary
StaticHtmlReportGenerator()
           
 
Method Summary
protected  void copyFileToTargetDir(java.lang.String fileName)
           
 void generate(java.io.File toDir, java.io.File sourceDir)
           
 void handleReportModel(ReportModel model, java.io.File file)
           
 void writeEnd()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticHtmlReportGenerator

public StaticHtmlReportGenerator()
Method Detail

generate

public void generate(java.io.File toDir,
                     java.io.File sourceDir)
              throws java.io.IOException
Throws:
java.io.IOException

copyFileToTargetDir

protected void copyFileToTargetDir(java.lang.String fileName)
                            throws java.io.IOException
Throws:
java.io.IOException

handleReportModel

public void handleReportModel(ReportModel model,
                              java.io.File file)
Specified by:
handleReportModel in interface ReportModelFileHandler

writeEnd

public void writeEnd()