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
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:
-
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.