|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.io.RuleBaseLoader
Convenience methods for loading a RuleBase
.
The RuleBaseLoader
provides convenience methods for loading
RuleBase
s from streams. RuleBaseLoader
is
thread-safe and as such may be used to build multiple RuleBase
s
simultaneously by multiple threads.
RuleSet
,
RuleBase
,
RuleSetReader
,
RuleBaseBuilder
![]() |
![]() |
Method Summary | |
static RuleBase |
loadFromInputStream(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 |
static RuleBase |
loadFromInputStream(java.io.InputStream[] ins)
Loads a RuleBase from an InputStream using the default ConflictResolver This is a convenience method and calls public static RuleBase loadFromInputStream(InputStream[] ins, ConflictResolver resolver) passing the DefaultConflictResolver |
static RuleBase |
loadFromInputStream(java.io.InputStream[] ins,
ConflictResolver resolver)
Loads a RuleBase from an InputStream using the default ConflictResolver |
static RuleBase |
loadFromInputStream(java.io.InputStream in,
ConflictResolver resolver)
Loads a RuleBase from an InputStream using the default ConflictResolver |
static RuleBase |
loadFromReader(java.io.Reader in)
Loads a RuleBase from a Reader using the default ConflictResolver This is a convenience method and calls public static RuleBase loadFromReader(Reader in, ConflictResolver resolver) passing the DefaultConflictResolver |
static RuleBase |
loadFromReader(java.io.Reader[] ins)
Loads a RuleBase from a Reader using the default ConflictResolver This is a convenience method and calls public static RuleBase loadFromReader(Reader[] ins, ConflictResolver resolver) passing the DefaultConflictResolver |
static RuleBase |
loadFromReader(java.io.Reader[] ins,
ConflictResolver resolver)
Loads a RuleBase from a Reader using the given ConflictResolver |
static RuleBase |
loadFromReader(java.io.Reader in,
ConflictResolver resolver)
Loads a RuleBase from a Reader using the given ConflictResolver |
static RuleBase |
loadFromUrl(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 |
static RuleBase |
loadFromUrl(java.net.URL[] urls)
Loads a RuleBase using several URLs, using the DefaultConflictResolver. |
static RuleBase |
loadFromUrl(java.net.URL[] urls,
ConflictResolver resolver)
Loads a RuleBase from several URLS, merging them and using the specified ConflictResolver |
static RuleBase |
loadFromUrl(java.net.URL url,
ConflictResolver resolver)
Loads a RuleBase from a URL using the given ConflictResolver |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static RuleBase loadFromUrl(java.net.URL url) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
url
-
public static RuleBase loadFromUrl(java.net.URL url, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
url
- resolver
-
public static RuleBase loadFromUrl(java.net.URL[] urls) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
urls
-
public static RuleBase loadFromUrl(java.net.URL[] urls, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
urls
- resolver
-
public static RuleBase loadFromInputStream(java.io.InputStream in) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
in
-
public static RuleBase loadFromInputStream(java.io.InputStream in, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
in
- resolver
-
public static RuleBase loadFromInputStream(java.io.InputStream[] ins) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
ins
-
public static RuleBase loadFromInputStream(java.io.InputStream[] ins, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
ins
- resolver
-
public static RuleBase loadFromReader(java.io.Reader in) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
in
-
public static RuleBase loadFromReader(java.io.Reader in, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
in
- resolver
-
public static RuleBase loadFromReader(java.io.Reader[] ins) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
ins
-
public static RuleBase loadFromReader(java.io.Reader[] ins, ConflictResolver resolver) throws org.xml.sax.SAXException, java.io.IOException, RuleSetIntegrationException, RuleIntegrationException
org.xml.sax.SAXException
java.io.IOException
RuleSetIntegrationException
RuleIntegrationException
ins
- resolver
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |