Package net.sourceforge.pmd.cpd
Interface CPDReportRenderer
-
- All Known Implementing Classes:
CSVRenderer
,CSVWithLinecountPerFileRenderer
,SimpleRenderer
,VSRenderer
,XMLOldRenderer
,XMLRenderer
public interface CPDReportRenderer
Render aCPDReport
to a file.- See Also:
CSVRenderer
,XMLRenderer
,SimpleRenderer
,VSRenderer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
render(CPDReport report, Writer writer)
Write out the contents of the report to the given writer.default String
renderToString(CPDReport report)
Call the other render method on a StringWriter.
-
-
-
Method Detail
-
render
void render(CPDReport report, Writer writer) throws IOException
Write out the contents of the report to the given writer.- Parameters:
report
- The report to writewriter
- A writer for the report file- Throws:
IOException
- If the writer throws
-
-