Hi Gary,

actually I found this:

final Properties props =
ConfigurationConverter.getProperties(configuration);

which does the job.



2014-05-06 16:21 GMT+03:00 Gary Gregory <garydgreg...@gmail.com>:

> 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 <paranoia...@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: garydgreg...@gmail.com | ggreg...@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
>



-- 
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

Reply via email to