On Tuesday 27 September 2005 16:48, Jilles van Gurp wrote:
> NoKideen wrote:
> >
> > this is example to to read
> > -------------------------------------------------
> > import lib.ConfLineSeparator;
> > ...
> > ...
> > ConfLineSeparator c = new
> > ConfLineSeparator("/whereis/thefile/file.conf");
> > out.println(c.getConf("dbPwd","VALUEifMissing"));
> > ...
> > ...
> Use commons.configuration. Works beautifully and has the advantage that
> you don't need to change your deployment descriptor or server.xml if you
> want to change the configuration. With commons-configuration you can
> also reload and write the properties, store them in xml, a database or a
> simple text file.


is there any example, I'd still confuse how to read "dot properties" file


I think may API was to odds :-D, yeah that was trouble
but there is one thing I like is "comments using #"



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to