T
- Type accepted by the function@FunctionalInterface public interface IOConsumer<T>
Consumer
but allowing an
IOException
to be thrown.Modifier and Type | Method and Description |
---|---|
void |
accept(T value)
Perform an operation with the given argument.
|
void accept(T value) throws IOException
value
- argumentIOException
- if an I/O error occursCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.