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, suppressedshowSuppressedViolations| Constructor and Description |
|---|
TextPadRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
renderFileViolations(java.util.Iterator<IRuleViolation> violations) |
void |
start() |
render, renderFileReportgetWriter, render, setWriter, showSuppressedViolations, startFileAnalysispublic void start()
throws java.io.IOException
start in interface Rendererstart in class OnTheFlyRendererjava.io.IOExceptionpublic void renderFileViolations(java.util.Iterator<IRuleViolation> violations) throws java.io.IOException
renderFileViolations in class OnTheFlyRendererjava.io.IOExceptionpublic void end()
throws java.io.IOException
end in interface Rendererend in class OnTheFlyRendererjava.io.IOException