commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-513) Add convenience methods for reading class path resources
Date Tue, 23 Aug 2016 06:22:20 GMT

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

Mime
View raw message