Interface IOConsumer<T>
- Type Parameters:
T
- Type accepted by the function
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface similar to
Consumer
but allowing an
IOException
to be thrown.-
Method Summary
-
Method Details
-
accept
Perform an operation with the given argument.- Parameters:
value
- argument- Throws:
IOException
- if an I/O error occurs
-