Class ReportTask.HTMLFormatterElement

  • Enclosing class:
    ReportTask

    public class ReportTask.HTMLFormatterElement
    extends java.lang.Object
    Formatter element for HTML reports.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IReportVisitor createVisitor()  
      void setDestdir​(java.io.File destdir)
      Sets the output directory for the report.
      void setDestfile​(java.io.File destfile)
      Sets the Zip output file for the report.
      void setEncoding​(java.lang.String encoding)
      Sets the output encoding for generated HTML files.
      void setFooter​(java.lang.String text)
      Sets an optional footer text that will be displayed on every report page.
      void setLocale​(java.lang.String locale)
      Sets the locale for generated text output.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HTMLFormatterElement

        public HTMLFormatterElement()
    • Method Detail

      • setDestdir

        public void setDestdir​(java.io.File destdir)
        Sets the output directory for the report.
        Parameters:
        destdir - output directory
      • setDestfile

        public void setDestfile​(java.io.File destfile)
        Sets the Zip output file for the report.
        Parameters:
        destfile - Zip output file
      • setFooter

        public void setFooter​(java.lang.String text)
        Sets an optional footer text that will be displayed on every report page.
        Parameters:
        text - footer text
      • setEncoding

        public void setEncoding​(java.lang.String encoding)
        Sets the output encoding for generated HTML files. Default is UTF-8.
        Parameters:
        encoding - output encoding
      • setLocale

        public void setLocale​(java.lang.String locale)
        Sets the locale for generated text output. By default the platform locale is used.
        Parameters:
        locale - text locale
      • createVisitor

        public IReportVisitor createVisitor()
                                     throws java.io.IOException
        Throws:
        java.io.IOException