Package net.sourceforge.pmd.cpd
Class CSVRenderer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.CSVRenderer
-
- All Implemented Interfaces:
Renderer
,CPDRenderer
- Direct Known Subclasses:
CSVWithLinecountPerFileRenderer
public class CSVRenderer extends Object implements Renderer, CPDRenderer
-
-
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
render(Iterator<Match> matches)
void
render(Iterator<Match> matches, Writer writer)
-
-
-
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
-
-