commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Heger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CONFIGURATION-170) [configuration] Add an option to save multiple values in one line
Date Sat, 27 Jan 2007 18:32:49 GMT

     [ https://issues.apache.org/jira/browse/CONFIGURATION-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oliver Heger updated CONFIGURATION-170:
---------------------------------------

    Fix Version/s:     (was: Nightly Builds)
                   1.3

> [configuration] Add an option to save multiple values in one line
> -----------------------------------------------------------------
>
>                 Key: CONFIGURATION-170
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-170
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: 1.2
>         Environment: Operating System: All
> Platform: All
>            Reporter: Kenji Nakamura
>            Priority: Minor
>             Fix For: 1.3
>
>
> I'd like to save a property to a file with List type value in one line.
> By default, the output looks like this.
> key = value1
> key = value2
> I want to make the output like this.
> key = value1, value2
> Changing delimiter to '0' before calling save achieves the format, but retrieval of the
value, say by 
> calling getList(), results in returning a value "value1, value2" instead of values "value1"
and "value2", 
> even if the original delimiter ',' is set back. 
> In addition to that, the delimiter is defined as static and changing the value affects
all threads, which is 
> not typically desirable. 
> It would be nice to have an option to save multiple values in a single line, with thread
safe manner. 
> Thanks,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message