com.tngtech.jgiven.report.html
Class HtmlWriter
java.lang.Object
com.tngtech.jgiven.report.model.ReportModelVisitor
com.tngtech.jgiven.report.html.HtmlWriter
public class HtmlWriter
- extends ReportModelVisitor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
writer
protected final PrintWriter writer
utils
protected final HtmlWriterUtils utils
HtmlWriter
public HtmlWriter(PrintWriter writer)
writeHtmlHeader
public void writeHtmlHeader(String title)
writeHtmlFooter
public void writeHtmlFooter()
write
public void write(ScenarioModel model)
write
public void write(ReportModel model,
HtmlTocWriter htmlTocWriter)
toString
public static String toString(ScenarioModel model)
toString
public static String toString(ReportModel model)
toString
public static String toString(com.google.common.base.Function<PrintWriter,Void> writeFunction)
writeToFile
public static void writeToFile(File file,
ReportModel model,
HtmlTocWriter htmlTocWriter)
throws FileNotFoundException,
UnsupportedEncodingException
- Throws:
FileNotFoundException
UnsupportedEncodingException
visit
public void visit(ReportModel reportModel)
- Overrides:
visit in class ReportModelVisitor
visitEnd
public void visitEnd(ReportModel reportModel)
- Overrides:
visitEnd in class ReportModelVisitor
visit
public void visit(ScenarioModel scenarioModel)
- Overrides:
visit in class ReportModelVisitor
writeModelToFile
public static void writeModelToFile(ReportModel model,
HtmlTocWriter tocWriter,
File file)
Copyright © 2014 TNG Technology Consulting. All rights reserved.