org.acm.seguin.pmd
Class RuleSetReader
java.lang.Object
org.acm.seguin.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.1 $, $Date: 2003/07/29 20:51:58 $
- Author:
- Donald A. Leckie
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 |
RuleSetReader
public RuleSetReader()
read
public RuleSet read(java.io.InputStream inputStream,
java.lang.String ruleSetFileName)
throws PMDException
- Parameters:
inputStream
- ruleSetFileName
-
- Returns:
-
- Throws:
PMDException
read
public RuleSet read(java.io.InputStream inputStream,
java.lang.String ruleSetFileName,
boolean onlyIfIncluded)
throws PMDException
- Parameters:
inputStream
- ruleSetFileName
- onlyIfIncluded
-
- Returns:
-
- Throws:
PMDException