You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2008/03/10 02:11:46 UTC
[jira] Commented: (IO-158) ReaderInputStream implementation
[ https://issues.apache.org/jira/browse/IO-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576840#action_12576840 ]
Niall Pemberton commented on IO-158:
------------------------------------
I found three of them, but not the James one:
Ant:
http://svn.apache.org/repos/asf/ant/core/trunk/src/main/org/apache/tools/ant/util/ReaderInputStream.java
iBatis
http://svn.apache.org/repos/asf/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/common/io/ReaderInputStream.java
XMLBeans:
http://svn.apache.org/repos/asf/xmlbeans/trunk/src/common/org/apache/xmlbeans/impl/common/ReaderInputStream.java
>From an initial scan I would pick the ant one - XMLBeans needs other classes and iBatis has some copyright stuff that would be simpler to not have to work out what needs to go in our NOTICE file - also I found a test case for the ant impl:
http://svn.apache.org/repos/asf/ant/core/trunk/src/tests/junit/org/apache/tools/ant/util/ReaderInputStreamTest.java
> ReaderInputStream implementation
> --------------------------------
>
> Key: IO-158
> URL: https://issues.apache.org/jira/browse/IO-158
> Project: Commons IO
> Issue Type: Wish
> Reporter: Andreas Veithen
> Priority: Minor
>
> The standard Java class InputStreamReader converts a Reader into an InputStream. In some cases it is necessary to do the reverse, i.e. to convert a Reader into an InputStream. Several frameworks and libraries have their own implementation of this functionality (google for "ReaderInputStream"). Among these are at least four Apache projects: Ant, iBatis, James and XMLBeans. Commons IO would be a good place to share a common implementation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.