com.atlassian.confluence.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(){


Method Summary
 T withInputStream(InputStream is)
           
 

Method Detail

withInputStream

T withInputStream(InputStream is)
                  throws IOException
Throws:
IOException


Copyright © 2003-2013 Atlassian. All Rights Reserved.