com.tngtech.jgiven.report.html
Class SingleFileHtmlReportGenerator

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

public class SingleFileHtmlReportGenerator
extends Object
implements ReportModelFileHandler

Writes all scenarios into a single file.


Field Summary
protected  HtmlWriterUtils utils
           
protected  PrintWriter writer
           
 
Constructor Summary
SingleFileHtmlReportGenerator()
           
 
Method Summary
 void generate(File toDir, String targetFileName, File sourceDir)
           
 void handleReportModel(ReportModel model, File file)
           
 void writeEnd()
           
 void writeStart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected PrintWriter writer

utils

protected HtmlWriterUtils utils
Constructor Detail

SingleFileHtmlReportGenerator

public SingleFileHtmlReportGenerator()
Method Detail

generate

public void generate(File toDir,
                     String targetFileName,
                     File sourceDir)
              throws IOException
Throws:
IOException

writeStart

public void writeStart()

writeEnd

public void writeEnd()

handleReportModel

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


Copyright © 2014 TNG Technology Consulting. All rights reserved.