Class FreemarkerReportFormat

  • All Implemented Interfaces:
    com.jscape.inet.mft.subsystems.reporting.ReportFormat

    public class FreemarkerReportFormat
    extends java.lang.Object
    implements com.jscape.inet.mft.subsystems.reporting.ReportFormat
    Author:
    Roman Sheshunov
    • Constructor Summary

      Constructors 
      Constructor Description
      FreemarkerReportFormat​(java.nio.file.Path templateRoot, java.lang.String templateFilename, com.jscape.inet.mft.subsystems.management.web.Resources resources)  
    • Constructor Detail

      • FreemarkerReportFormat

        public FreemarkerReportFormat​(java.nio.file.Path templateRoot,
                                      java.lang.String templateFilename,
                                      com.jscape.inet.mft.subsystems.management.web.Resources resources)
    • Method Detail

      • defaultResources

        public static com.jscape.inet.mft.subsystems.management.web.Resources defaultResources()
      • formatFor

        public static FreemarkerReportFormat formatFor​(com.jscape.inet.mft.subsystems.management.web.Resources resources)
      • format

        public void format​(Report report,
                           java.io.File workDir)
                    throws java.lang.Exception
        Specified by:
        format in interface com.jscape.inet.mft.subsystems.reporting.ReportFormat
        Throws:
        java.lang.Exception