Class HTMLReport


  • public class HTMLReport
    extends java.lang.Object
    HTML format of the report.
    • Field Detail

      • reportCharset

        protected java.nio.charset.Charset reportCharset
        The charset to request for the report output. Defaulted to UTF-8, if this is not available at runtime, code will use the default charset provided by the runtime.
        See Also:
        Charset.defaultCharset
      • DEFAULT_CHARSET

        protected java.lang.String DEFAULT_CHARSET
        Default charset to use. This is checked against the runtime availability before being used.
    • Constructor Detail

      • HTMLReport

        public HTMLReport()
    • Method Detail

      • getReportFilenames

        public static java.lang.String[] getReportFilenames()
        Gets the standard report file name used in JT Harness. Note that this returns the file names which are used for the main report only, not the aux. HTML files.
        Returns:
        The report name.
      • getFile

        public static java.lang.String getFile​(int code)
        Gets the file name based one the input code.
        Parameters:
        code - The code name for the file.
        Returns:
        The file name.
      • write

        public com.sun.javatest.report.ReportFormat.ReportLink write​(ReportSettings repSettings,
                                                                     java.io.File dir)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • getReportID

        public java.lang.String getReportID()
      • getBaseDirName

        public java.lang.String getBaseDirName()
      • getTypeName

        public java.lang.String getTypeName()
      • acceptSettings

        public boolean acceptSettings​(ReportSettings s)
      • getSubReports

        public java.util.List<com.sun.javatest.report.ReportFormat> getSubReports()
      • setResults

        public void setResults​(java.util.List<java.util.TreeSet<TestResult>> results)
      • setKflData

        public void setKflData​(KflSorter s)