Package org.jacoco.ant
Class ReportTask.HTMLFormatterElement
- java.lang.Object
-
- org.jacoco.ant.ReportTask.FormatterElement
-
- org.jacoco.ant.ReportTask.HTMLFormatterElement
-
- Enclosing class:
- ReportTask
public class ReportTask.HTMLFormatterElement extends ReportTask.FormatterElement
Formatter element for HTML reports.
-
-
Constructor Summary
Constructors Constructor Description HTMLFormatterElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IReportVisitor
createVisitor()
void
setDestdir(java.io.File destdir)
Sets the output directory for the report.void
setDestfile(java.io.File destfile)
Sets the Zip output file for the report.void
setEncoding(java.lang.String encoding)
Sets the output encoding for generated HTML files.void
setFooter(java.lang.String text)
Sets an optional footer text that will be displayed on every report page.void
setLocale(java.lang.String locale)
Sets the locale for generated text output.-
Methods inherited from class org.jacoco.ant.ReportTask.FormatterElement
finish
-
-
-
-
Method Detail
-
setDestdir
public void setDestdir(java.io.File destdir)
Sets the output directory for the report.- Parameters:
destdir
- output directory
-
setDestfile
public void setDestfile(java.io.File destfile)
Sets the Zip output file for the report.- Parameters:
destfile
- Zip output file
-
setFooter
public void setFooter(java.lang.String text)
Sets an optional footer text that will be displayed on every report page.- Parameters:
text
- footer text
-
setEncoding
public void setEncoding(java.lang.String encoding)
Sets the output encoding for generated HTML files. Default is UTF-8.- Parameters:
encoding
- output encoding
-
setLocale
public void setLocale(java.lang.String locale)
Sets the locale for generated text output. By default the platform locale is used.- Parameters:
locale
- text locale
-
createVisitor
public IReportVisitor createVisitor() throws java.io.IOException
- Specified by:
createVisitor
in classReportTask.FormatterElement
- Throws:
java.io.IOException
-
-