commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [configuration] Get all properties in a configuration
Date Tue, 06 May 2014 13:21:42 GMT
Hi Petar, good to see you here.

Feel free to provide a patch to move the ball forward. The next question
would be should the returned object be a safe copy or should changes in the
object be reflected in the config?

Gary


On Tue, May 6, 2014 at 7:45 AM, Petar Tahchiev <paranoiabla@gmail.com>wrote:

> Hi guys,
>
> I'm looking at the API and I can't seem to find a method that returns all
> the Properties in a Configuration object. I know I can access the keys and
> then iterate and get the property with that key, but is there any method
> like getAllProperties? If not is there any reason not to add one?
>
> --
> Regards, Petar!
> Karlovo, Bulgaria.
> ---
> Public PGP Key at:
> https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611
> Key Fingerprint: A369 A7EE 61BC 93A3 CDFF  55A5 1965 8550 C311 0611
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message