You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2016/08/23 06:22:20 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=15432214#comment-15432214 ] 

Benedikt Ritter commented on IO-513:
------------------------------------

I'm currently not convinced this should be added to IOUtils. The API currently is "give me something java.io related and I'll give you it's contents". Now we're dealing with paths denoting files in the classpath. The next thing is a convenience method of read files from anywhere. Further more this PR introduces the concept of CharSets to IOUtils - something IOUtils never had to deal with before.

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