org.apache.commons.digester.plugins.strategies
public class LoaderFromStream extends RuleLoader
Note that the "include" feature of xmlrules is not supported.
Since: 1.6
Field Summary | |
---|---|
byte[] | input |
FromXmlRuleSet | ruleSet |
Constructor Summary | |
---|---|
LoaderFromStream(InputStream s) See {@link #load}. |
Method Summary | |
---|---|
void | addRules(Digester d, String path)
Add the rules previously loaded from the input stream into the
specified digester. |
void | load(InputStream s)
The contents of the input stream are loaded into memory, and
cached for later use.
|
The caller is responsible for closing the input stream after this method has returned.