You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Ri...@atradius.com on 2006/03/27 17:40:07 UTC

XMLConfiguration to Properties

Hi All,

 

Is it possible to convert an XMLConfiguration object to an Properties
object? 

 

Cheers

Rishi



------------------------------------------------------------------------------------------------------------
This message is intended for the addressee or its representative only. 
Any form of unauthorized use, publication, reproduction, copying or 
disclosure of the content of this e-mail is not permitted. If you are 
not the intended recipient of this e-mail message and its contents, 
please notify the sender immediately and delete this message and 
all its attachments subsequently.


Re: XMLConfiguration to Properties

Posted by Oliver Heger <ol...@t-online.de>.
Rishikesh.Mallesh@atradius.com wrote:

>Hi All,
>
> 
>
>Is it possible to convert an XMLConfiguration object to an Properties
>object? 
>
> 
>
>Cheers
>
>Rishi
>
>  
>
You can try ConfigurationConverter.getProperties(), but you will lose
some structure by this conversion.

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Re: [configuration] XMLConfiguration to Properties

Posted by Emmanuel Bourg <eb...@apache.org>.
Rishikesh.Mallesh@atradius.com wrote:

> Is it possible to convert an XMLConfiguration object to an Properties
> object? 

Did you try ConfigurationConverter.getProperties() ?

Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org