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.
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
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 2001-2005 The Apache Software Foundation.