commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balaji Srinivasaraghavan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IO-454) IOUtils.skipToEnd
Date Thu, 10 Dec 2015 18:49:11 GMT

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

Balaji Srinivasaraghavan commented on IO-454:
---------------------------------------------

Implemented the consumeAll() method, attached is the patch. The method reads and discards
data from the stream instead of using the InputStream skip() method.

> IOUtils.skipToEnd
> -----------------
>
>                 Key: IO-454
>                 URL: https://issues.apache.org/jira/browse/IO-454
>             Project: Commons IO
>          Issue Type: New Feature
>          Components: Utilities
>            Reporter: BELUGA BEHR
>            Priority: Minor
>         Attachments: IO-454.patch
>
>
> Hello,
> I'd like to see an IOUtils method that calls skip (or skip/read) on a stream until it
returns -1.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message