commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mingleizhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONFIGURATION-674) Add class FileProperties to load file name directly
Date Mon, 06 Nov 2017 08:20:00 GMT

    [ https://issues.apache.org/jira/browse/CONFIGURATION-674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16240020#comment-16240020
] 

mingleizhang commented on CONFIGURATION-674:
--------------------------------------------

I think it is not suitable to put this jira here. So, change it to Commons Collections. 

> Add class FileProperties to load file name directly
> ---------------------------------------------------
>
>                 Key: CONFIGURATION-674
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-674
>             Project: Commons Configuration
>          Issue Type: New Feature
>          Components: File reloading
>            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)

Mime
View raw message