commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Eadie <>
Subject [Configuration] support for a slightly different format for multi-line properties ?
Date Thu, 20 Mar 2008 19:59:48 GMT
I have a need to read properties from a file of the form:

key this sentence is
   the value of the key.

that is, the multi-line string value of the key is signaled by leading  
white space on the second and subsequent lines, rather than the use of  
"\" on each previous line.  Is there a neat way to coerce common- 
configuration into parsing this as I want it?  Could I override  
PropertiesConfiguration.PropertiesReader for example to get this effect?

Thanks for any suggestions .. Gavin

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message