|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.ConfigurationConverter
Configuration converter.
Helper class to convert between Configuration, ExtendedProperties and
standard Properties.
Constructor Summary | |
ConfigurationConverter()
|
Method Summary | |
static Configuration |
getConfiguration(org.apache.commons.collections.ExtendedProperties ep)
Convert a ExtendedProperties class into a Configuration class. |
static Configuration |
getConfiguration(java.util.Properties p)
Convert a standard properties class into a configuration class. |
static org.apache.commons.collections.ExtendedProperties |
getExtendedProperties(Configuration c)
Convert a Configuration class into a ExtendedProperties class. |
static java.util.Properties |
getProperties(Configuration c)
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 |
public ConfigurationConverter()
Method Detail |
public static Configuration getConfiguration(org.apache.commons.collections.ExtendedProperties ep)
ep
- ExtendedProperties object to convert
public static Configuration getConfiguration(java.util.Properties p)
p
- properties object to convert
public static org.apache.commons.collections.ExtendedProperties getExtendedProperties(Configuration c)
c
- Configuration object to convert
public static java.util.Properties getProperties(Configuration c)
Configuration.getString(java.lang.String)
.
c
- Configuration object to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |