Re: [configuration] Get all properties in a configuration

2014-05-06 Thread Oliver Heger
Hi Petar, Am 06.05.2014 15:45, schrieb Petar Tahchiev: > Hi Gary, > > actually I found this: > > final Properties props = > ConfigurationConverter.getProperties(configuration); > > which does the job. I also would have pointed you to this method, but was not 100% sure what you meant. My first

Re: [configuration] Get all properties in a configuration

2014-05-06 Thread Petar Tahchiev
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 : > Hi Petar, good to see you here. > > Feel free to provide a patch to move the ball forward. The next question > would b

Re: [configuration] Get all properties in a configuration

2014-05-06 Thread Gary Gregory
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 wrote: > Hi guys, > > I'm

[configuration] Get all properties in a configuration

2014-05-06 Thread Petar Tahchiev
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?