You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/22 10:40:58 UTC

[jira] [Commented] (IO-513) Add convenience methods for reading class path resources

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

ASF GitHub Bot commented on IO-513:
-----------------------------------

GitHub user behrangsa opened a pull request:

    https://github.com/apache/commons-io/pull/28

    IO-513 - Added convenience methods for loading resources (original PR: #17)

    Added convenience methods for loading resources:
    
    * `resourceToString`
    * `resourceToByteArray`
    * `resourceToURL`
    
    Original PR: https://github.com/apache/commons-io/pull/17
    
    JIRA Issue: https://issues.apache.org/jira/browse/IO-513

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/behrangsa/commons-io master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-io/pull/28.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #28
    
----
commit 421c345667c3538b23d7be4a818b170fa6e168fa
Author: Behrang Saeedzadeh <be...@protonmail.com>
Date:   2016-11-22T10:37:51Z

    Added convenience methods for loading resources:
    
    * resourceToString
    * resourceToByteArray
    * resourceToURL

----


> Add convenience methods for reading class path resources
> --------------------------------------------------------
>
>                 Key: IO-513
>                 URL: https://issues.apache.org/jira/browse/IO-513
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>            Reporter: Behrang Saeedzadeh
>            Priority: Minor
>              Labels: beginner, features, github-import, newbie
>
> Add convenience methods to {{IOUtils}} for reading class path resources and returning them as {{String}}, {{byte[]}}, and {{URL}} respectively.
> Github PR: https://github.com/apache/commons-io/pull/17



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)