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

Julien Aymé commented on IO-454:
--------------------------------

Note that this is already feasible, by using IOUtils.copy and NullOuputStream:
{code}
InputStream in = ...
try {
    IOUtils.copy(in, new NullOutputStream());
} finally {
    in.close();
}
{code}

> 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
>
> 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.2#6252)

Reply via email to