| java.lang.Object biz.hammurapi.config.XmlSource
XmlSource | public class XmlSource implements Parameterizable(Code) | | Helper class to read XML configuration from file, url or classloader
resource.
author: Pavel Vlasov version: $Revision: 1.2 $ |
Constructor Summary | |
public | XmlSource(String prefix, Class masterClass, String defaultResourceExtension) Constructor
Parameters: prefix - Prefix for configuration parameters. |
XmlSource | public XmlSource(String prefix, Class masterClass, String defaultResourceExtension)(Code) | | Constructor
Parameters: prefix - Prefix for configuration parameters. Parameter specifyingconfigruration file would be <prefix>-file, url -<prefix>-url, resource - <prefix>-resource Parameters: masterClass - Master class' classloader will be used to load resources anddefault resource would be masterClass name withdefaultResourceExtension. If master class is null then thisclass classloader will be used and no default resource will beloaded. Parameters: defaultResourceExtension - Extension for default resource. If it is null then defaultresource will not be loaded. |
|
|