T - the consumed type@FunctionalInterface public interface IOConsumer<T>
IO exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
accept(T t)
Performs this operation on the given argument.
|
void accept(T t) throws IOException
t - the instance to consumeIOException - on IO error