Re: [configuration] Type conversion

2008-03-04 Thread Oliver Heger
Emmanuel Bourg schrieb: Oliver Heger a écrit : Do we need to specify a date format? Because a configuration file is not intended to be viewed or edited by an end user we could define our own format (e.g. the format used by the java.sql date types) and always use it for date <-> string conve

Re: [configuration] Type conversion

2008-03-03 Thread Emmanuel Bourg
Oliver Heger a écrit : Do we need to specify a date format? Because a configuration file is not intended to be viewed or edited by an end user we could define our own format (e.g. the format used by the java.sql date types) and always use it for date <-> string conversions. Properties file

Re: [configuration] Type conversion

2008-03-01 Thread Oliver Heger
Emmanuel Bourg schrieb: Oliver Heger a écrit : This looks pretty good to me. Just a question about the convert() methods: What is the meaning of the params var arg parameter and where do the actual values come from? That's the same vararg used currently by PropertyConverter.to(), it's used

Re: [configuration] Type conversion

2008-02-29 Thread Emmanuel Bourg
Oliver Heger a écrit : This looks pretty good to me. Just a question about the convert() methods: What is the meaning of the params var arg parameter and where do the actual values come from? That's the same vararg used currently by PropertyConverter.to(), it's used to specify a date format

Re: [configuration] Type conversion

2008-02-29 Thread Oliver Heger
Emmanuel Bourg schrieb: Hi, I've been working on the type conversion lately, it's almost complete, I still have to refactor the unit tests and write the docs. Here is what I plan to commit: - A new Converter interface is introduced in the o.a.c.c.converter package. This interface has a sing

[configuration] Type conversion

2008-02-28 Thread Emmanuel Bourg
Hi, I've been working on the type conversion lately, it's almost complete, I still have to refactor the unit tests and write the docs. Here is what I plan to commit: - A new Converter interface is introduced in the o.a.c.c.converter package. This interface has a single method designed to con