Commons Configuration
  1. Commons Configuration
  2. CONFIGURATION-184

[configuration] Support escaped separators in keys

    Details

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

      Operating System: All
      Platform: All

      Description

      According to the documentation for java.util.Properties it's possible to put an
      escaped key/value separator in a key, this is not currently supported by the
      PropertiesConfiguration class:

      http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#load(java.io.InputStream)

      "The key contains all of the characters in the line starting with the first
      non-white space character and up to, but not including, the first unescaped '=',
      ':', or white space character other than a line terminator. All of these key
      termination characters may be included in the key by escaping them with a
      preceding backslash character;"

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development