public final class ConfigurationConverter extends Object
Modifier and Type | Method and Description |
---|---|
static Configuration |
getConfiguration(org.apache.commons.collections.ExtendedProperties eprops)
Convert a ExtendedProperties class into a Configuration class.
|
static Configuration |
getConfiguration(Properties props)
Convert a standard Properties class into a configuration class.
|
static org.apache.commons.collections.ExtendedProperties |
getExtendedProperties(Configuration config)
Convert a Configuration class into a ExtendedProperties class.
|
static Map<Object,Object> |
getMap(Configuration config)
Convert a Configuration class into a Map class.
|
static Properties |
getProperties(Configuration config)
Convert a Configuration class into a Properties class.
|
public static Configuration getConfiguration(org.apache.commons.collections.ExtendedProperties eprops)
eprops
- ExtendedProperties object to convertpublic static Configuration getConfiguration(Properties props)
props
- properties object to convertpublic static org.apache.commons.collections.ExtendedProperties getExtendedProperties(Configuration config)
config
- Configuration object to convertpublic static Properties getProperties(Configuration config)
config
- Configuration object to convertpublic static Map<Object,Object> getMap(Configuration config)
config
- Configuration object to convertCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.