com.atlassian.jira.util.io
Interface InputStreamConsumer<T>

Type Parameters:
T -

public interface InputStreamConsumer<T>

Implementors consume an InputStream.

Typical usage pattern for methods that accept a consumer is to pass in an anonymous implementation of this interface:

      something.withConsumer(new InputStreamConsumer(){

Since:
4.4

Method Summary
 T withInputStream(InputStream is)
           
 

Method Detail

withInputStream

T withInputStream(InputStream is)
                  throws IOException
Throws:
IOException


Copyright © 2002-2012 Atlassian. All Rights Reserved.