org.apache.commons.digester.plugins.strategies
Class LoaderFromStream
public class LoaderFromStream
A rule-finding algorithm which loads an xmlplugins-format file.
Note that the "include" feature of xmlrules is not supported.
- 1.6
void | addRules(Digester d, String path) - Add the rules previously loaded from the input stream into the
specified digester.
|
private void | load(InputStream s) - The contents of the input stream are loaded into memory, and
cached for later use.
|
input
private byte[] input
LoaderFromStream
public LoaderFromStream(InputStream s)
throws Exception
addRules
public void addRules(Digester d,
String path)
throws PluginException
Add the rules previously loaded from the input stream into the
specified digester.
- addRules in interface RuleLoader
load
private void load(InputStream s)
throws IOException
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.
Copyright (c) 2001-2004 - Apache Software Foundation