You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "mingleizhang (JIRA)" <ji...@apache.org> on 2017/11/06 08:30:00 UTC

[jira] [Updated] (COLLECTIONS-664) Add class FileProperties to load file name directly

     [ https://issues.apache.org/jira/browse/COLLECTIONS-664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mingleizhang updated COLLECTIONS-664:
-------------------------------------
    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. 

> Add class FileProperties to load file name directly
> ---------------------------------------------------
>
>                 Key: COLLECTIONS-664
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-664
>             Project: Commons Collections
>          Issue Type: New Feature
>            Reporter: mingleizhang
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)