Class ReportClassIndexWriter
java.lang.Object
org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
org.matwoess.jsourceprofiler.tool.profile.ReportClassIndexWriter
The writer class for the class index overview page.
This is the main page of the report.
-
Field Summary
Fields inherited from class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
bodyScripts, cssFiles, includeScripts, title -
Constructor Summary
ConstructorsConstructorDescriptionReportClassIndexWriter(JavaFile[] allJavaFiles) Creates a newReportClassIndexWriterobject. -
Method Summary
Modifier and TypeMethodDescriptionvoidbody()Generates the main content of the HTML document by callingsortedClassTable().Defines the output path for the generated HTML document asIO.getReportIndexPath().voidAppends a table of all classes sorted by the number of method invocations to the internalcontent.
-
Constructor Details
-
ReportClassIndexWriter
Creates a newReportClassIndexWriterobject.- 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 callingsortedClassTable().- Specified by:
bodyin classAbstractHtmlWriter
-
sortedClassTable
public void sortedClassTable()Appends a table of all classes sorted by the number of method invocations to the internalcontent. -
getFileOutputPath
Defines the output path for the generated HTML document asIO.getReportIndexPath().- Specified by:
getFileOutputPathin classAbstractHtmlWriter- Returns:
- the destination path of the output file
-