Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.digester.plugins.strategies
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
`LoaderFromStream(InputStream s)` See `load(java.io.InputStream)`.

Method Summary
`void` | `addRules(Digester d, String path)` Add the rules previously loaded from the input stream into the specified digester.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LoaderFromStream

    public LoaderFromStream(InputStream s)
                     throws Exception

  See `load(java.io.InputStream)`.

  Throws:
    `Exception`

Method Detail

### addRules

    public void addRules(Digester d,
                         String path)
                  throws PluginException

  Add the rules previously loaded from the input stream into the specified digester.

  Specified by:
    `addRules` in class `RuleLoader`
  Throws:
    `PluginException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.