commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Kjome (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (IO-158) ReaderInputStream implementation
Date Wed, 28 May 2008 04:07:45 GMT

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

hoju edited comment on IO-158 at 5/27/08 9:06 PM:
---------------------------------------------------------

Well, for one, it doesn't do String.getBytes().  Besides that it seems quite simple and straightforward,
with no external dependencies, and would pass all the Ant tests with one minor tweak to account
for the testReadZero() case.  I guess you probably have more experience with the Piped streams
than I do, so I'll defer to your expertise in regard to their trickiness.

I'm really just putting it out there as an option that wasn't originally listed and providing
information for others to make an informed decision.  I'm not claiming to be any sort of expert
and I'm not trying to evangelize Netbeans/Openide (I have no affiliation).  I am curious as
to what people think about the approach.  But, ultimately, you either like it or you don't.

      was (Author: hoju):
    Well, for one, it doesn't do Stirng.getBytes().  Besides that it seems quite simple and
straightforward, with no external dependencies, and would pass all the Ant tests with one
minor tweak to account for the testReadZero() case.  I guess you probably have more experience
with the Piped streams than I do, so I'll defer to your expertise in regard to their trickiness.

I'm really just putting it out there as an option that wasn't originally listed and providing
information for others to make an informed decision.  I'm not claiming to be any sort of expert
and I'm not trying to evangelize Netbeans/Openide (I have no affiliation).  I am curious as
to what people think about the approach.  But, ultimately, you either like it or you don't.
  
> 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.


Mime
View raw message