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

Add class FileProperties to load file name directly

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • File reloading
    • None

    Description

      For example, In some interface, needs we have a java.util.Properties as a parameter. In common case, we have different profiles in maven under different environments that we can random selection. And use the current classloader, usually belongs to AppclassLoader to get it's inputstream. I propose we should add a functionality that can directly read a file name and return a java.util.Properties as a return value.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mingleizhang zhangminglei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: