Uploaded image for project: 'Commons Configuration'
  1. Commons Configuration
  2. CONFIGURATION-314

Allow custom separator characters when writing out PropertiesConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5
    • 1.7
    • Format
    • None

    Description

      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.

      Attachments

        Activity

          People

            oheger Oliver Heger
            skaffman Kenny MacLeod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: