Class ReportSourceWriter
java.lang.Object
org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
org.matwoess.jsourceprofiler.tool.profile.ReportSourceWriter
The writer class for the annotated source code report file of a java file.
-
Field Summary
Fields inherited from class org.matwoess.jsourceprofiler.tool.profile.AbstractHtmlWriter
bodyScripts, cssFiles, includeScripts, title -
Constructor Summary
ConstructorsConstructorDescriptionReportSourceWriter(JavaFile javaFile) Creates a newReportSourceWriterobject for the given java file. -
Method Summary
Modifier and TypeMethodDescriptionvoidbody()Generates the main content of the HTML document by callingpreCodeElement().Returns the file output path to write the file to.
-
Constructor Details
-
ReportSourceWriter
Creates a newReportSourceWriterobject for the given java file.- Parameters:
javaFile- the file to write the report file for
-
-
Method Details
-
body
public void body()Generates the main content of the HTML document by callingpreCodeElement().- Specified by:
bodyin classAbstractHtmlWriter
-
getFileOutputPath
Returns the file output path to write the file to. The path is determined by callingIO.getReportSourceFilePath(java.nio.file.Path)with the relative java file path.- Specified by:
getFileOutputPathin classAbstractHtmlWriter- Returns:
- the file output path
-