Package com.atlassian.confluence.util.io
Interface InputStreamConsumer<T>
-
- Type Parameters:
T
-
public interface InputStreamConsumer<T>
Implementors consume anInputStream
.Typical usage pattern for methods that accept a consumer is to pass in an anonymous implementation of this interface:
{@code something.withConsumer(new InputStreamConsumer
(){
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
withInputStream(InputStream is)
-
-
-
Method Detail
-
withInputStream
T withInputStream(InputStream is) throws IOException
- Throws:
IOException
-
-