|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.ConfigurationConverter
public final class ConfigurationConverter
Configuration converter. Helper class to convert between Configuration, ExtendedProperties and standard Properties.
Constructor Summary | |
---|---|
private |
ConfigurationConverter()
Private constructor prevents instances from being created. |
Method Summary | |
---|---|
static Configuration |
getConfiguration(org.apache.commons.collections.ExtendedProperties eprops)
Convert a ExtendedProperties class into a Configuration class. |
static Configuration |
getConfiguration(java.util.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 java.util.Map |
getMap(Configuration config)
Convert a Configuration class into a Map class. |
static java.util.Properties |
getProperties(Configuration config)
Convert a Configuration class into a Properties class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private ConfigurationConverter()
Method Detail |
---|
public static Configuration getConfiguration(org.apache.commons.collections.ExtendedProperties eprops)
eprops
- ExtendedProperties object to convert
public static Configuration getConfiguration(java.util.Properties props)
props
- properties object to convert
public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(Configuration config)
config
- Configuration object to convert
public static java.util.Properties getProperties(Configuration config)
config
- Configuration object to convert
public static java.util.Map getMap(Configuration config)
config
- Configuration object to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |