commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <ebo...@apache.org>
Subject Re: [configuration] IniFile support
Date Thu, 14 Apr 2005 08:55:56 GMT
Oliver Siegmar wrote:

> Does your implementation has default (a.k.a. global, a.k.a. common) section 
> support?

What do you mean by default section exactly ? Currently my 
implementation does the following:

- config.addProperty("foo.bar.xyz", "123") creates a [foo] section with 
a bar.xyz property:

     [foo]
     bar.xyz = 123

- config.addProperty("foo", "123") creates a foo property with no 
section, the property appears at the beginning of the file before the 
first section.

     foo = 123

     [section1]
     bar = 456


Emmanuel Bourg

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message