Configuration converter. Helper class to convert between Configuration,
ExtendedProperties and standard Properties.
author: Martin Poeschl version: $Revision: 439648 $, $Date: 2006-09-02 22:42:10 +0200 (Sa, 02 Sep 2006) $
public static Configuration getConfiguration(ExtendedProperties eprops)(Code)
Convert a ExtendedProperties class into a Configuration class.
Parameters: eprops - ExtendedProperties object to convert Configuration created from the ExtendedProperties
Convert a standard Properties class into a configuration class.
Parameters: props - properties object to convert Configuration configuration created from the Properties
getExtendedProperties
public static ExtendedProperties getExtendedProperties(Configuration config)(Code)
Convert a Configuration class into a ExtendedProperties class.
Parameters: config - Configuration object to convert ExtendedProperties created from the Configuration
Convert a Configuration class into a Properties class. List properties
are joined into a string using the delimiter of the configuration if it
extends AbstractConfiguration, and a comma otherwise.
Parameters: config - Configuration object to convert Properties created from the Configuration