commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <oliver.he...@oliver-heger.de>
Subject Re: [configuration] Configurations as Maps
Date Wed, 06 Sep 2006 19:49:54 GMT
Marc Carter wrote:
> (How) is it possible to put a Collections interface over the Configuration 
> objects?  I was planning on porting an application away from 
> java.util.Properties by changing all of the fields to reference Map 
> instead.  It had been assumed that commons-config's collections of 
> properties would implement a Collections model ... at least for the 
> simpler classses.
> 
> Marc

There is the ConfigurationMap class in the top level package, which 
wraps a Configuration and implements the Map interface. Is this what you 
want? However I have not used this class myself so far.

Oliver


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


Mime
View raw message