Class AbstractFileReporter

All Implemented Interfaces:
ExtentReporter, StatusFilterable
Direct Known Subclasses:
ExtentSparkReporter, JsonFormatter

public abstract class AbstractFileReporter extends AbstractFilterableReporter
  • Field Details

  • Constructor Details

    • AbstractFileReporter

      protected AbstractFileReporter(File f)
  • Method Details

    • loadTemplateModel

      protected void loadTemplateModel()
    • processTemplate

      protected void processTemplate(freemarker.template.Template template, File outputFile) throws freemarker.template.TemplateException, IOException
      Throws:
      freemarker.template.TemplateException
      IOException
    • createFreemarkerConfig

      protected freemarker.template.Configuration createFreemarkerConfig(String templatePath, String encoding)
    • getFileNameAsExt

      protected String getFileNameAsExt(String fileName, String[] checkExt)