Class ReportTask.HTMLFormatterElement
java.lang.Object
org.jacoco.ant.ReportTask.FormatterElement
org.jacoco.ant.ReportTask.HTMLFormatterElement
- Enclosing class:
ReportTask
Formatter element for HTML reports.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDestdir(File destdir) Sets the output directory for the report.voidsetDestfile(File destfile) Sets the Zip output file for the report.voidsetEncoding(String encoding) Sets the output encoding for generated HTML files.voidSets an optional footer text that will be displayed on every report page.voidSets the locale for generated text output.Methods inherited from class ReportTask.FormatterElement
finish
-
Field Details
-
destdir
-
destfile
-
encoding
-
locale
-
-
Constructor Details
-
HTMLFormatterElement
public HTMLFormatterElement()
-
-
Method Details
-
setDestdir
Sets the output directory for the report.- Parameters:
destdir- output directory
-
setDestfile
Sets the Zip output file for the report.- Parameters:
destfile- Zip output file
-
setEncoding
Sets the output encoding for generated HTML files. Default is UTF-8.- Parameters:
encoding- output encoding
-
setLocale
Sets the locale for generated text output. By default the platform locale is used.- Parameters:
locale- text locale
-
createVisitor
- Specified by:
createVisitorin classReportTask.FormatterElement- Throws:
IOException
-