public class HTMLFormatter extends Object implements org.jacoco.report.internal.html.IHTMLReportContext
| Constructor and Description |
|---|
HTMLFormatter()
New instance with default settings.
|
| Modifier and Type | Method and Description |
|---|---|
IReportVisitor |
createVisitor(IMultiReportOutput output)
Creates a new visitor to write a report to the given output.
|
String |
getFooterText()
Returns a string of textual information to include in every page footer.
|
org.jacoco.report.internal.html.index.IIndexUpdate |
getIndexUpdate()
Returns the service for index updates.
|
ILanguageNames |
getLanguageNames()
Returns the language names call-back used in this report.
|
Locale |
getLocale()
Returns the locale used to format numbers and dates.
|
String |
getOutputEncoding()
Returns the encoding of the generated HTML documents.
|
org.jacoco.report.internal.html.resources.Resources |
getResources()
Returns the static resources used in this report.
|
org.jacoco.report.internal.html.ILinkable |
getSessionsPage()
Returns the link to the sessions page.
|
org.jacoco.report.internal.html.table.Table |
getTable()
Returns a table for rendering coverage nodes.
|
void |
setFooterText(String footerText)
Sets the optional text that should be included in every footer page.
|
void |
setLanguageNames(ILanguageNames languageNames)
Sets the implementation for language name display.
|
void |
setLocale(Locale locale)
Sets the locale used for report rendering.
|
void |
setOutputEncoding(String outputEncoding)
Sets the encoding used for generated HTML pages.
|
public void setLanguageNames(ILanguageNames languageNames)
languageNames - converter for language specific namespublic void setLocale(Locale locale)
locale - locale used for report renderingpublic void setFooterText(String footerText)
footerText - footer textpublic void setOutputEncoding(String outputEncoding)
outputEncoding - HTML output encodingpublic ILanguageNames getLanguageNames()
org.jacoco.report.internal.html.IHTMLReportContextgetLanguageNames in interface org.jacoco.report.internal.html.IHTMLReportContextpublic org.jacoco.report.internal.html.resources.Resources getResources()
org.jacoco.report.internal.html.IHTMLReportContextgetResources in interface org.jacoco.report.internal.html.IHTMLReportContextpublic org.jacoco.report.internal.html.table.Table getTable()
org.jacoco.report.internal.html.IHTMLReportContextgetTable in interface org.jacoco.report.internal.html.IHTMLReportContextpublic String getFooterText()
org.jacoco.report.internal.html.IHTMLReportContextgetFooterText in interface org.jacoco.report.internal.html.IHTMLReportContextpublic org.jacoco.report.internal.html.ILinkable getSessionsPage()
org.jacoco.report.internal.html.IHTMLReportContextgetSessionsPage in interface org.jacoco.report.internal.html.IHTMLReportContextpublic String getOutputEncoding()
org.jacoco.report.internal.html.IHTMLReportContextgetOutputEncoding in interface org.jacoco.report.internal.html.IHTMLReportContextpublic org.jacoco.report.internal.html.index.IIndexUpdate getIndexUpdate()
org.jacoco.report.internal.html.IHTMLReportContextgetIndexUpdate in interface org.jacoco.report.internal.html.IHTMLReportContextpublic Locale getLocale()
org.jacoco.report.internal.html.IHTMLReportContextgetLocale in interface org.jacoco.report.internal.html.IHTMLReportContextpublic IReportVisitor createVisitor(IMultiReportOutput output) throws IOException
output - output to write the report toIOException - in case of problems with the output streamCopyright © 2009-2015 Mountainminds GmbH & Co. KG. All Rights Reserved.