Interface IOConsumer<C>

Type Parameters:
C - the type of stream/reader
All Superinterfaces:
Consumer<C>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IOConsumer<C> extends Consumer<C>
Common functional interface for I/O content consumption, for example consuming an InputStream or a Reader.
Since:
7.1
Author:
Juergen Hoeller
See Also: