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

Add support for Commons Text 1.5 new string lookups as default lookups

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: Interpolation
    • Labels:
      None

      Description

      Since we depend on Apache Commons Text for string lookups, add support for Commons Text 1.5's new string lookup as default lookups.

      Provides access to lookups defined in Apache Commons Text:

      • "base64" for the Base64StringLookup since Apache Commons Text 1.5.
      • "const" for the ConstantStringLookup since Apache Commons Text 1.5.
      • "date" for the DateStringLookup.
      • "env" for the EnvironmentVariableStringLookup.
      • "file" for the FileStringLookup since Apache Commons Text 1.5.
      • "java" for the JavaPlatformStringLookup.
      • "localhost" for the LocalHostStringLookup, see #localHostStringLookup() for key names; since Apache Commons Text 1.3.
      • "properties" for the PropertiesStringLookup since Apache Commons Text 1.5.
      • "resourceBundle" for the ResourceBundleStringLookup since Apache Commons Text 1.5.
      • "script" for the ScriptStringLookup since Apache Commons Text 1.5.
      • "sys" for the SystemPropertyStringLookup.
      • "url" for the UrlStringLookup since Apache Commons Text 1.5.
      • "xml" for the XmlStringLookup since Apache Commons Text 1.5.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ggregory Gary D. Gregory
                Reporter:
                ggregory Gary D. Gregory
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: