commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenny MacLeod (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CONFIGURATION-314) Allow custom separator characters when writing out PropertiesConfiguration
Date Wed, 27 Feb 2008 11:17:51 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572875#action_12572875
] 

Kenny MacLeod commented on CONFIGURATION-314:
---------------------------------------------

Agreed.

Can you also make the line separator configurable?  Hard-wiring it to the platform default
is fine for the most part, but sometimes you need to force it to a different platform.

> Allow custom separator characters when writing out PropertiesConfiguration
> --------------------------------------------------------------------------
>
>                 Key: CONFIGURATION-314
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-314
>             Project: Commons Configuration
>          Issue Type: Improvement
>    Affects Versions: 1.5
>            Reporter: Kenny MacLeod
>             Fix For: 1.6
>
>
> While PropertiesConfiguration is tolerant of several different key/value separator characters
when reading a properties stream, it is hard-wired to use an "=" character when writing them
out again.
> Can we please have a way to customise this?  Seems like a perfect use for the PropertiesConfigurationLayout.
> Sadly, because of the way that PropertiesWriter has been implemented, it's impossible
to extend and override this behaviour without copying large chunks of code.

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


Mime
View raw message