-
Reading an INI file
Hi all,
I have an INI file containing sections,where
each section contains key-value pair. for e.g.
[DATABASEINFO]
DatabaseName=xxx
UserId=yyy
URL=zzz
Is there any class in Java that can get me the
keys and values for a specific section. I tried
using the Properties class, but it doesn't
support sections. It gets me the key-value pair
if no sections are present. With sections, it
totally messed up things.
Any suggestions!!!
Thanks
Kannan
-
Re: Reading an INI file
Hi kannan,
There is an article related to this topic in code guru. Check whether it's useful to you ..
http://codeguru.developer.com/java/articles/655.shtml
Poochi..
-
Re: Reading an INI file
Hi Poochi,
Thanks a lot. It was indeed useful to me.
Kannan