Package net.sourceforge.pmd.cpd
Class SimpleRenderer
- java.lang.Object
-
- net.sourceforge.pmd.cpd.SimpleRenderer
-
- All Implemented Interfaces:
Renderer,CPDRenderer
public class SimpleRenderer extends Object implements Renderer, CPDRenderer
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SEPARATOR
-
Constructor Summary
Constructors Constructor Description SimpleRenderer()SimpleRenderer(boolean trimLeadingWhitespace)SimpleRenderer(String theSeparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringrender(Iterator<Match> matches)voidrender(Iterator<Match> matches, Writer writer)
-
-
-
Field Detail
-
DEFAULT_SEPARATOR
public static final String DEFAULT_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SimpleRenderer
public SimpleRenderer()
-
SimpleRenderer
public SimpleRenderer(boolean trimLeadingWhitespace)
-
SimpleRenderer
public SimpleRenderer(String theSeparator)
-
-
Method Detail
-
render
public void render(Iterator<Match> matches, Writer writer) throws IOException
- Specified by:
renderin interfaceCPDRenderer- Throws:
IOException
-
-