org.drools.io
Class RuleBaseBuilder

java.lang.Object
  |
  +--org.drools.io.RuleBaseBuilder

public class RuleBaseBuilder
extends java.lang.Object

Factory for constructing a RuleBase.

The RuleBaseBuilder integrates the added RuleSets into the Rete network. A RuleBaseBuilder may be re-used after building a RuleBase but it may not be used to build multiple RuleBases simultaneously by multiple threads.

Version:
$Id: RuleBaseBuilder.java,v 1.2 2004/01/02 04:20:30 bob Exp $
Author:
bob mcwhirter
See Also:
#build, RuleSet, RuleBase

Constructor Summary
RuleBaseBuilder()
           
 
Method Summary
static RuleBase buildFromInputStream(java.io.InputStream in)
           
static RuleBase buildFromReader(java.io.Reader in)
           
static RuleBase buildFromUrl(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBaseBuilder

public RuleBaseBuilder()
Method Detail

buildFromUrl

public static RuleBase buildFromUrl(java.net.URL url)
                             throws java.lang.Exception
java.lang.Exception

buildFromInputStream

public static RuleBase buildFromInputStream(java.io.InputStream in)
                                     throws java.lang.Exception
java.lang.Exception

buildFromReader

public static RuleBase buildFromReader(java.io.Reader in)
                                throws java.lang.Exception
java.lang.Exception