Emmanuel Bourg
Inger, Matthew wrote:
Barring any objections, I'd like to commit the IniFileConfiguration classes (and test code and data) to CVS. Here's a basic summary of how it would be used:
IniFileConfiguration conf = new IniFileConfiguration(filePath);
IniSectionConfiguration section1 = conf.getSection("Section 1"); String key_a = section1.getString("key_a");
String key_b =
conf.getString(IniFileConfiguration.createKey("Section 1",
"key_b"));
conf.save(newFilePath);
Basically, it behaves like a configuration object, exception that the keys are a special format containing the section name and key name: [section]key and there are special methods for retrieving specific sections.
Any dissention?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
