Package org.jacoco.ant
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 TypeMethodDescriptionvoid
setDestdir
(File destdir) Sets the output directory for the report.void
setDestfile
(File destfile) Sets the Zip output file for the report.void
setEncoding
(String encoding) Sets the output encoding for generated HTML files.void
Sets an optional footer text that will be displayed on every report page.void
Sets the locale for generated text output.Methods inherited from class org.jacoco.ant.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:
createVisitor
in classReportTask.FormatterElement
- Throws:
IOException
-