public class TextPadRenderer extends OnTheFlyRenderer
A Renderer for running PMD via a TextPad 'tool'. TextPad is a text editor by Helios Software Solutions.
Output lines are in the form:
pathtojavafile(line#, NameOfRule): Specific rule violation message
For example:
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(24, AtLeastOneConstructor): Each class should declare at least one constructor
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(26, VariableNamingConventionsRule): Variables should start with a lowercase character
D:\java\pmd\src\src\net\sourceforge\pmd\renderers\TextPadRenderer.java(31, ShortVariable): Avoid variables with short names
errors, suppressed
showSuppressedViolations
Constructor and Description |
---|
TextPadRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
end() |
void |
renderFileViolations(java.util.Iterator<IRuleViolation> violations) |
void |
start() |
render, renderFileReport
getWriter, render, setWriter, showSuppressedViolations, startFileAnalysis
public void start() throws java.io.IOException
start
in interface Renderer
start
in class OnTheFlyRenderer
java.io.IOException
public void renderFileViolations(java.util.Iterator<IRuleViolation> violations) throws java.io.IOException
renderFileViolations
in class OnTheFlyRenderer
java.io.IOException
public void end() throws java.io.IOException
end
in interface Renderer
end
in class OnTheFlyRenderer
java.io.IOException