[ 
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)

Reply via email to