On Fri, 19 Apr 2002, Ignacio J. Ortega wrote:

> Hola a Todos:
> 
> How can i use jk2 to read and parse an arbitrary properties file? 

jk2_config_read()

It'll read the properties into the jk_map ( without doing the ${} 
substitution ! - you must do it after you read ).

The only 'special' thing about the format is that it'll read 
[foo] sections and append it as a prefix to all following properties:

 [foo] 
 a=b
 c=d

is equivalent with:

foo.a=b
foo.c=d

Costin




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

Reply via email to