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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected freemarker.template.ConfigurationcreateFreemarkerConfig(String templatePath, String encoding) protected StringgetFileNameAsExt(String fileName, String[] checkExt) protected voidprotected voidprocessTemplate(freemarker.template.Template template, File outputFile) Methods inherited from class com.aventstack.extentreports.reporter.AbstractFilterableReporter
filterAndGet
-
Field Details
-
PATH_SEP
- See Also:
-
-
Constructor Details
-
AbstractFileReporter
-
-
Method Details
-
loadTemplateModel
protected void loadTemplateModel() -
processTemplate
protected void processTemplate(freemarker.template.Template template, File outputFile) throws freemarker.template.TemplateException, IOException - Throws:
freemarker.template.TemplateExceptionIOException
-
createFreemarkerConfig
-
getFileNameAsExt
-