commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (IO-197) BoundedInputStream
Date Wed, 29 Sep 2010 01:31:33 GMT

     [ https://issues.apache.org/jira/browse/IO-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Niall Pemberton resolved IO-197.
--------------------------------

      Assignee: Niall Pemberton
    Resolution: Fixed

I copied the BoundedInputStream from Apache JackRabbit:

    http://svn.apache.org/viewvc?view=revision&revision=1002430

I removed the int size limitation:

    http://svn.apache.org/viewvc?view=revision&revision=1002432

..and added a test case

    http://svn.apache.org/viewvc?view=revision&revision=1002440

> BoundedInputStream
> ------------------
>
>                 Key: IO-197
>                 URL: https://issues.apache.org/jira/browse/IO-197
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Streams/Writers
>            Reporter: Emmanuel Bourg
>            Assignee: Niall Pemberton
>            Priority: Minor
>             Fix For: 2.0
>
>
> Apache Jackrabbit has an interesting InputStream implementation that reads up to a specified
amount of bytes from an underlying stream, and then acts as if the end of the stream was reached:
> http://svn.apache.org/repos/asf/jackrabbit/trunk/jackrabbit-jcr-server/src/main/java/org/apache/jackrabbit/server/io/BoundedInputStream.java
> Similar classes are also found in other projects:
> http://svn.mucommander.com/cgi-bin/viewvc.cgi/trunk/source/com/mucommander/io/BoundedInputStream.java?content-type=text%2Fplain&view=co
> https://www.sunspotworld.com/docs/Purple/javadoc/com/sun/spot/peripheral/BoundedInputStream.html

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