public abstract class AbstractHtmlReportGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractHtmlReportGenerator.ReportModelFile |
static class |
AbstractHtmlReportGenerator.TestCaseFileReader |
| Modifier and Type | Field and Description |
|---|---|
protected File |
toDir |
protected HtmlWriterUtils |
utils |
protected PrintWriter |
writer |
| Constructor and Description |
|---|
AbstractHtmlReportGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyFileToTargetDir(String fileName) |
void |
generate(File toDir,
String targetFileName,
File sourceDir) |
abstract void |
handleReportModel(ReportModel model,
File file) |
void |
writeEnd() |
void |
writeStart() |
protected File toDir
protected PrintWriter writer
protected HtmlWriterUtils utils
public void generate(File toDir, String targetFileName, File sourceDir) throws IOException
IOExceptionpublic void writeStart()
public void writeEnd()
public abstract void handleReportModel(ReportModel model, File file)
protected void copyFileToTargetDir(String fileName) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionCopyright © 2014 TNG Technology Consulting. All rights reserved.