net.sourceforge.pmd.renderers
Class TextPadRenderer

java.lang.Object
  extended bynet.sourceforge.pmd.renderers.AbstractRenderer
      extended bynet.sourceforge.pmd.renderers.TextPadRenderer
All Implemented Interfaces:
Renderer

public class TextPadRenderer
extends AbstractRenderer

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

Author:
Jeff Epstein, based upon EmacsRenderer, Tuesday, September 23, 2003

Field Summary
 
Fields inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
showSuppressedViolations
 
Constructor Summary
TextPadRenderer()
           
 
Method Summary
 void render(java.io.Writer writer, Report report)
           
 
Methods inherited from class net.sourceforge.pmd.renderers.AbstractRenderer
render, showSuppressedViolations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextPadRenderer

public TextPadRenderer()
Method Detail

render

public void render(java.io.Writer writer,
                   Report report)
            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2002-2006 InfoEther. All Rights Reserved.