java.lang.Object
org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter

public class ReportClassIndexWriter extends AbstractHtmlWriter
The writer class for the class index overview page. This is the main page of the report.
  • Constructor Details

    • ReportClassIndexWriter

      public ReportClassIndexWriter(JavaFile[] allJavaFiles)
      Creates a new ReportClassIndexWriter object.
      Parameters:
      allJavaFiles - the list of all java files contained in the project
  • Method Details

    • body

      public void body()
      Generates the main content of the HTML document by calling sortedClassTable().
      Specified by:
      body in class AbstractHtmlWriter
    • sortedClassTable

      public void sortedClassTable()
      Appends a table of all classes sorted by the number of method invocations to the internal content.
    • getFileOutputPath

      public Path getFileOutputPath()
      Defines the output path for the generated HTML document as IO.getReportIndexPath().
      Specified by:
      getFileOutputPath in class AbstractHtmlWriter
      Returns:
      the destination path of the output file