net.sourceforge.pmd
Class RuleSetReader

java.lang.Object
  |
  +--net.sourceforge.pmd.RuleSetReader
All Implemented Interfaces:
Constants

public class RuleSetReader
extends java.lang.Object
implements Constants

Reads an XML file containing information about a rule set and each rule within the rule set.

The SAXParser is used to parse the file.

Since:
August 30, 2002
Version:
$Revision: 1.18 $, $Date: 2003/04/17 14:58:09 $
Author:
Donald A. Leckie

Field Summary
 
Fields inherited from interface net.sourceforge.pmd.swingui.Constants
BOOLEAN, DECIMAL_NUMBER, EMPTY_STRING, INTEGER, STRING
 
Constructor Summary
RuleSetReader()
           
 
Method Summary
 RuleSet read(java.io.InputStream inputStream, java.lang.String ruleSetFileName)
           
 RuleSet read(java.io.InputStream inputStream, java.lang.String ruleSetFileName, boolean onlyIfIncluded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleSetReader

public RuleSetReader()
Method Detail

read

public RuleSet read(java.io.InputStream inputStream,
                    java.lang.String ruleSetFileName)
             throws PMDException
Parameters:
inputStream -
ruleSetFileName -
Returns:
PMDException

read

public RuleSet read(java.io.InputStream inputStream,
                    java.lang.String ruleSetFileName,
                    boolean onlyIfIncluded)
             throws PMDException
Parameters:
inputStream -
ruleSetFileName -
onlyIfIncluded -
Returns:
PMDException


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