ying lcs wrote:
> Hi,
>
> In my configuration xml file, I have:
> <myconfig>value1, value2, value3</myconfig>
>
> but after I read it, I only get the value 'value1'. Everything after
> the first ',' looks like gone.
>
> how can I make Commons Configuration so that it does not strip out
> everything after ','?
>
Per default the ',' is interpreted as list delimiter character. To
disable this call setDelimiterParsingDisabled(true) (defined in
AbstractConfiguration) before you load your configuration.
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org
|