Class LoaderFromStream
- java.lang.Object
-
- org.apache.commons.digester.plugins.RuleLoader
-
- org.apache.commons.digester.plugins.strategies.LoaderFromStream
-
public class LoaderFromStream extends RuleLoader
A rule-finding algorithm which loads an xmlplugins-format file.Note that the "include" feature of xmlrules is not supported.
- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description LoaderFromStream(java.io.InputStream s)
Seeload(java.io.InputStream)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRules(Digester d, java.lang.String path)
Add the rules previously loaded from the input stream into the specified digester.
-
-
-
Constructor Detail
-
LoaderFromStream
public LoaderFromStream(java.io.InputStream s) throws java.lang.Exception
Seeload(java.io.InputStream)
.- Throws:
java.lang.Exception
-
-
Method Detail
-
addRules
public void addRules(Digester d, java.lang.String path) throws PluginException
Add the rules previously loaded from the input stream into the specified digester.- Specified by:
addRules
in classRuleLoader
- Throws:
PluginException
-
-