Class AbstractFileReporter
- java.lang.Object
-
- com.aventstack.extentreports.reporter.AbstractReporter
-
- com.aventstack.extentreports.reporter.AbstractFilterableReporter
-
- com.aventstack.extentreports.reporter.AbstractFileReporter
-
- All Implemented Interfaces:
ExtentReporter,StatusFilterable
- Direct Known Subclasses:
ExtentSparkReporter,JsonFormatter
public abstract class AbstractFileReporter extends AbstractFilterableReporter
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractFileReporter(File f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected freemarker.template.ConfigurationcreateFreemarkerConfig(String templatePath, String encoding)protected StringgetFileNameAsExt(String fileName, String[] checkExt)protected voidloadTemplateModel()protected voidprocessTemplate(freemarker.template.Template template, File outputFile)-
Methods inherited from class com.aventstack.extentreports.reporter.AbstractFilterableReporter
filterAndGet
-
-
-
-
Field Detail
-
PATH_SEP
protected static final String PATH_SEP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractFileReporter
protected AbstractFileReporter(File f)
-
-
Method Detail
-
loadTemplateModel
protected void loadTemplateModel()
-
processTemplate
protected void processTemplate(freemarker.template.Template template, File outputFile) throws freemarker.template.TemplateException, IOException- Throws:
freemarker.template.TemplateExceptionIOException
-
createFreemarkerConfig
protected freemarker.template.Configuration createFreemarkerConfig(String templatePath, String encoding)
-
-