imho the multiple lines syntax is cleaner and easier to handle.
I'm ok for this as it is close to what you would do with an xml element. Though...
There may be an issue with DatabaseConfiguration and JNDIConfiguration though. This should be solvable for the DatabaseConfiguration, but i'm not sure for the JNDIConfiguration.
What do you think about a getObjectList(Class primitive, char delim) and getObject(Class primitive) ?
getObject() would not really simplify the syntax, i don't think it's worth adding this method as it turns
MyType type = new MyType(configuration.getString(key));
into
MyType type = (MyType) configuration.getObject(MyType.class, key);
getObjectList() is more interesting.
Emmanuel Bourg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]