|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.io.RuleBaseLoader
public final class 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(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(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(InputStream[] ins,
ConflictResolver resolver)
Loads a RuleBase from an InputStream using the default ConflictResolver |
static RuleBase |
loadFromInputStream(InputStream in,
ConflictResolver resolver)
Loads a RuleBase from an InputStream using the default ConflictResolver |
static RuleBase |
loadFromReader(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(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(Reader[] ins,
ConflictResolver resolver)
Loads a RuleBase from a Reader using the given ConflictResolver |
static RuleBase |
loadFromReader(Reader in,
ConflictResolver resolver)
Loads a RuleBase from a Reader using the given ConflictResolver |
static RuleBase |
loadFromUrl(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(URL[] urls)
Loads a RuleBase using several URLs, using the DefaultConflictResolver. |
static RuleBase |
loadFromUrl(URL[] urls,
ConflictResolver resolver)
Loads a RuleBase from several URLS, merging them and using the specified ConflictResolver |
static RuleBase |
loadFromUrl(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(URL url) throws org.xml.sax.SAXException, IOException, IntegrationException
url
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromUrl(URL url, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
url
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromUrl(URL[] urls) throws org.xml.sax.SAXException, IOException, IntegrationException
urls
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromUrl(URL[] urls, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
urls
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromInputStream(InputStream in) throws org.xml.sax.SAXException, IOException, IntegrationException
in
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromInputStream(InputStream in, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
in
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromInputStream(InputStream[] ins) throws org.xml.sax.SAXException, IOException, IntegrationException
ins
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromInputStream(InputStream[] ins, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromReader(Reader in) throws org.xml.sax.SAXException, IOException, IntegrationException
in
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromReader(Reader in, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
in
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromReader(Reader[] ins) throws org.xml.sax.SAXException, IOException, IntegrationException
ins
-
org.xml.sax.SAXException
IOException
IntegrationException
public static RuleBase loadFromReader(Reader[] ins, ConflictResolver resolver) throws org.xml.sax.SAXException, IOException, IntegrationException
ins
- resolver
-
org.xml.sax.SAXException
IOException
IntegrationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |