Hi,

Thanks, that makes life a lot easier!

Regards,
Trevor

On 7/31/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
Hi Trevor,

Trevor Miller wrote on Monday, July 31, 2006 9:15 AM:

> Hi All,
>
> Is there an easy way to convert between
> org.apache.commons.configuration.Configuration and
> java.util.Properties.
>
> Some systems, like log4j need a properties object while others like
> torque use a configuration object. I tried to create
> JavaPropertiesConfiguration which extends Properties and implements
> Configuration but that doesn't work since the getProperty method
> signatures in Configuration and Properties are different and thus
> conflict.
>
> I think one might have to write wrappers, has this been done?
>
> Any help would be greatly appreciated.

http://jakarta.apache.org/commons/configuration/apidocs_1.2/org/apache/commons/configuration/ConfigurationConverter.html

I admit, it is often overlooked :)

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Real programmers use Linux!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to