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

[configuration] Alternative delimiter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Nightly Builds
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      29714

      Description

      The properties are split on a default delimiter (the comma character ',') but
      there is no way to change this delimiter. I'd suggest the addition of two
      methods setDelimiter(char) and getDelimiter() in AbstractConfiguration to let
      the user specify an alternative delimiter. We may want to apply a restriction on
      the allowed delimiters, for example the '=' character is unlikely to be a viable
      delimiter since it would create a conflict with the key/value delimiter in
      PropertiesConfigution and in the Properties format of getProperties(String).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ebourg Emmanuel Bourg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: