|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jacoco.report.csv.CSVFormatter
public class CSVFormatter
Report formatter that will create a single CSV file. By default the filename used will be the name of the session.
Constructor Summary | |
---|---|
CSVFormatter()
|
Method Summary | |
---|---|
IReportVisitor |
createReportVisitor(ICoverageNode root,
List<SessionInfo> sessionInfos,
Collection<ExecutionData> executionData)
Creates a visitor for root of a coverage data tree. |
ILanguageNames |
getLanguageNames()
Returns the language names call-back used in this report. |
void |
setLanguageNames(ILanguageNames languageNames)
Sets the implementation for language name display. |
void |
setOutputEncoding(String outputEncoding)
Sets the encoding used for generated CSV document. |
void |
setReportOutput(ISingleReportOutput output)
Sets the report output callback for this report formatter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CSVFormatter()
Method Detail |
---|
public IReportVisitor createReportVisitor(ICoverageNode root, List<SessionInfo> sessionInfos, Collection<ExecutionData> executionData) throws IOException
IReportFormatter
createReportVisitor
in interface IReportFormatter
root
- report root nodesessionInfos
- list of chronological ordered SessionInfo
objects
where execution data has been collected for this report.executionData
- collection of all ExecutionData
objects that are
considered for this report
IOException
public void setReportOutput(ISingleReportOutput output)
output
- file outputpublic void setLanguageNames(ILanguageNames languageNames)
languageNames
- converter for language specific namespublic ILanguageNames getLanguageNames()
public void setOutputEncoding(String outputEncoding)
outputEncoding
- CSV output encoding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |