commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject RE: [Configuration] IniFile
Date Tue, 09 Mar 2004 07:48:58 GMT

I doubt many if any use the .ini code in simple-jndi. It's a classic
example of some code written for the hell of it.

I'd need to test to see what happens with an empty section. Hopefully it'd
be linked to an empty string, but pass 'hasValue' tests.

Hen

On Tue, 9 Mar 2004, [iso-8859-1] Jörg Schaible wrote:

> Hi Inger,
>
> just as a side note: Configurations uses in its examples simple-jndi to
> demonstrate the JNDI functionality. This library creates an
> InitialContext for property, XML and ini files in a file structure. May
> be you can have a look at it, how the [section] problem is solved there,
> because we can assume, that some users already use it and it would be
> confuising if your implementation behaves different.
>
> Regards,
> Jörg
>
> Inger, Matthew wrote on Wednesday, March 03, 2004 8:10 PM:
>
> > Any interest in an INI File configuration class?
> > It would read a Windows style .ini file.  A sample:
> >
> > 	[Section1]
> > 	key1=value1
> >
> > 	[Section2]
> > 	key2=value2
> >
> > would produce the following properties:
> >
> > 	Section1/key1=value1
> > 	Section2/key2=value2
> >
> > Unfortunately, empty sections would not be dealt with
> > by the existing state of what i have.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


---------------------------------------------------------------------
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