|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.io.RuleSetLoader
public class RuleSetLoader
Constructor Summary | |
---|---|
RuleSetLoader()
|
Method Summary | |
---|---|
void |
addFromInputSource(org.xml.sax.InputSource source)
Loads a RuleBase from a Reader using the given ConflictResolver |
void |
addFromInputSource(org.xml.sax.InputSource[] sources)
Loads a RuleBase from a Reader using the given ConflictResolver. |
void |
addFromInputStream(java.io.InputStream in)
Loads a RuleBase from an InputStream using the default ConflictResolver This is a convenience method and calls public static RuleBase loadFromInputStream(InputStream in, ConflictResolver resolver) passing the DefaultConflictResolver |
void |
addFromInputStream(java.io.InputStream[] insr)
Loads a RuleBase from an InputStream using the default ConflictResolver |
void |
addFromReader(java.io.Reader in)
Loads a RuleBase from a Reader using the given ConflictResolver |
void |
addFromReader(java.io.Reader[] ins)
Loads a RuleBase from a Reader using the given ConflictResolver |
void |
addFromUrl(java.net.URL url)
Loads a RuleBase from a URL using the default ConflictResolver This is a convenience method and calls public static RuleBase loadFromUrl(URL url, ConflictResolver resolver) passing the DefaultConflictResolver |
void |
addFromUrl(java.net.URL[] urls)
Loads a RuleBase from several URLS, merging them and using the specified ConflictResolver |
java.util.Map |
getRuleSets()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleSetLoader()
Method Detail |
---|
public java.util.Map getRuleSets()
public void addFromUrl(java.net.URL url) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
url
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromUrl(java.net.URL[] urls) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
urls
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromInputStream(java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
in
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromInputStream(java.io.InputStream[] insr) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromReader(java.io.Reader in) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
in
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromReader(java.io.Reader[] ins) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromInputSource(org.xml.sax.InputSource source) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
public void addFromInputSource(org.xml.sax.InputSource[] sources) throws org.xml.sax.SAXException, java.io.IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
java.io.IOException
IntegrationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |