|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jacoco.report.html.HTMLFormatter
public class HTMLFormatter
Formatter for coverage reports in multiple HTML pages.
Constructor Summary | |
---|---|
HTMLFormatter()
New instance with default settings. |
Method Summary | |
---|---|
IReportVisitor |
createVisitor(IMultiReportOutput output)
Creates a new visitor to write a report to the given output. |
String |
getFooterText()
|
org.jacoco.report.internal.html.index.IIndexUpdate |
getIndexUpdate()
|
ILanguageNames |
getLanguageNames()
|
Locale |
getLocale()
|
String |
getOutputEncoding()
|
org.jacoco.report.internal.html.resources.Resources |
getResources()
|
org.jacoco.report.internal.html.ILinkable |
getSessionsPage()
|
org.jacoco.report.internal.html.table.Table |
getTable()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLFormatter()
Method Detail |
---|
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()
getLanguageNames
in interface org.jacoco.report.internal.html.IHTMLReportContext
public org.jacoco.report.internal.html.resources.Resources getResources()
getResources
in interface org.jacoco.report.internal.html.IHTMLReportContext
public org.jacoco.report.internal.html.table.Table getTable()
getTable
in interface org.jacoco.report.internal.html.IHTMLReportContext
public String getFooterText()
getFooterText
in interface org.jacoco.report.internal.html.IHTMLReportContext
public org.jacoco.report.internal.html.ILinkable getSessionsPage()
getSessionsPage
in interface org.jacoco.report.internal.html.IHTMLReportContext
public String getOutputEncoding()
getOutputEncoding
in interface org.jacoco.report.internal.html.IHTMLReportContext
public org.jacoco.report.internal.html.index.IIndexUpdate getIndexUpdate()
getIndexUpdate
in interface org.jacoco.report.internal.html.IHTMLReportContext
public Locale getLocale()
getLocale
in interface org.jacoco.report.internal.html.IHTMLReportContext
public IReportVisitor createVisitor(IMultiReportOutput output) throws IOException
output
- output to write the report to
IOException
- in case of problems with the output stream
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |