net.sourceforge.pmd
Class RuleSetFactory
java.lang.Object
|
+--net.sourceforge.pmd.RuleSetFactory
- public class RuleSetFactory
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleSetFactory
public RuleSetFactory()
getRegisteredRuleSets
public java.util.Iterator getRegisteredRuleSets()
throws RuleSetNotFoundException
- Returns an Iterator of RuleSet objects
RuleSetNotFoundException
createRuleSet
public RuleSet createRuleSet(java.lang.String name,
java.lang.ClassLoader classLoader)
throws RuleSetNotFoundException
RuleSetNotFoundException
createRuleSet
public RuleSet createRuleSet(java.lang.String name)
throws RuleSetNotFoundException
- Creates a ruleset. If passed a comma-delimited string (rulesets/basic.xml,rulesets/unusedcode.xml)
it will parse that string and create a new ruleset for each item in the list.
RuleSetNotFoundException
createRuleSet
public RuleSet createRuleSet(java.io.InputStream inputStream)
createRuleSet
public RuleSet createRuleSet(java.io.InputStream inputStream,
java.lang.ClassLoader classLoader)
Copyright © 2002-2003 Project Ultra*Log @ DARPA. All Rights Reserved.