commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Heger <>
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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message