net.sourceforge.pmd
Class PMD

java.lang.Object
  extended bynet.sourceforge.pmd.PMD

public class PMD
extends java.lang.Object


Field Summary
static java.lang.String EOL
           
 
Constructor Summary
PMD()
           
PMD(TargetJDKVersion targetJDKVersion)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void processFile(java.io.InputStream fileContents, RuleSet ruleSet, RuleContext ctx)
           
 void processFile(java.io.InputStream fileContents, java.lang.String encoding, RuleSet ruleSet, RuleContext ctx)
           
 void processFile(java.io.Reader reader, RuleSet ruleSet, RuleContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOL

public static final java.lang.String EOL
Constructor Detail

PMD

public PMD()

PMD

public PMD(TargetJDKVersion targetJDKVersion)
Method Detail

processFile

public void processFile(java.io.Reader reader,
                        RuleSet ruleSet,
                        RuleContext ctx)
                 throws PMDException
Parameters:
reader - - a Reader to the Java code to analyse
ruleSet - - the set of rules to process against the file
ctx - - the context in which PMD is operating. This contains the Renderer and whatnot
Throws:
PMDException

processFile

public void processFile(java.io.InputStream fileContents,
                        java.lang.String encoding,
                        RuleSet ruleSet,
                        RuleContext ctx)
                 throws PMDException
Parameters:
fileContents - - an InputStream to the Java code to analyse
encoding - - the source code's character set encoding
ruleSet - - the set of rules to process against the file
ctx - - the context in which PMD is operating. This contains the Report and whatnot
Throws:
PMDException

processFile

public void processFile(java.io.InputStream fileContents,
                        RuleSet ruleSet,
                        RuleContext ctx)
                 throws PMDException
Parameters:
fileContents - - an InputStream to the Java code to analyse
ruleSet - - the set of rules to process against the source code
ctx - - the context in which PMD is operating. This contains the Report and whatnot
Throws:
PMDException

main

public static void main(java.lang.String[] args)


Copyright © 2002-2004 Project Ultra*Log @ DARPA. All Rights Reserved.