T
- @PublicSpi
public interface InputStreamConsumer<T>
InputStream
.
Typical usage pattern for methods that accept a consumer is to pass in an anonymous implementation of this interface:
something.withConsumer(new InputStreamConsumer(){
Modifier and Type | Method and Description |
---|---|
T |
withInputStream(InputStream is) |
T withInputStream(InputStream is) throws IOException
IOException
Copyright © 2002-2018 Atlassian. All Rights Reserved.