commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim O'Brien" <tobr...@discursive.com>
Subject [configuration] PropertiesConfiguration vs. DOM.*Configuration
Date Sun, 13 Jun 2004 20:35:56 GMT
DOM4JConfiguration and DOMConfiguration each have two constructors which
take a parameter.  One takes a File and the other takes a resource name as a
String.

PropertiesConfiguration has one constructor which takes a parameter, and it
is a String representing a file name.

Anyone have any objections to bringing PropertiesConfiguration into sync
with the two XMLConfiguration implementations?  In other words,
PropertiesConfiguration should have a constructor which takes a File and a
constructor which takes a String resource name.

Alternatively, why not have all Configuration implementations just take a
Reader?

Tim


Mime
View raw message