Package net.sourceforge.pmd.cpd
Class CSVRenderer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.CSVRenderer
-
- All Implemented Interfaces:
Renderer
,CPDRenderer
,CPDReportRenderer
- Direct Known Subclasses:
CSVWithLinecountPerFileRenderer
public class CSVRenderer extends Object implements Renderer, CPDRenderer, CPDReportRenderer
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_LINECOUNTPERFILE
static char
DEFAULT_SEPARATOR
-
Constructor Summary
Constructors Constructor Description CSVRenderer()
CSVRenderer(boolean lineCountPerFile)
CSVRenderer(char separatorChar)
CSVRenderer(char separatorChar, boolean lineCountPerFile)
-
-
-
Field Detail
-
DEFAULT_SEPARATOR
public static final char DEFAULT_SEPARATOR
- See Also:
- Constant Field Values
-
DEFAULT_LINECOUNTPERFILE
public static final boolean DEFAULT_LINECOUNTPERFILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
render
public void render(Iterator<Match> matches, Writer writer) throws IOException
- Specified by:
render
in interfaceCPDRenderer
- Throws:
IOException
-
render
public void render(CPDReport report, Writer writer) throws IOException
- Specified by:
render
in interfaceCPDReportRenderer
- Throws:
IOException
-
-