Uses of Interface
org.apache.commons.io.function.IOConsumer
Packages that use IOConsumer
Package
Description
This package defines utility classes for working with streams, readers,
writers and files.
This package defines IO-only related functional interfaces for lambda expressions and method references.
This package provides implementations of output classes, such as
OutputStream and Writer.-
Uses of IOConsumer in org.apache.commons.io
Methods in org.apache.commons.io with parameters of type IOConsumerModifier and TypeMethodDescriptionstatic voidIOUtils.close(Closeable closeable, IOConsumer<IOException> consumer) Closes the givenCloseableas a null-safe operation. -
Uses of IOConsumer in org.apache.commons.io.function
Fields in org.apache.commons.io.function declared as IOConsumerModifier and TypeFieldDescriptionstatic final IOConsumer<?>IOConsumer.NOOP_IO_CONSUMERPackage private constant; consider private.Methods in org.apache.commons.io.function that return IOConsumerModifier and TypeMethodDescriptiondefault IOConsumer<T>IOConsumer.andThen(IOConsumer<? super T> after) Returns a composedIoConsumerthat performs, in sequence, this operation followed by theafteroperation.default IOConsumer<T>Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterconsumer to the result.default IOConsumer<T>IOFunction.andThen(IOConsumer<? super R> after) Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterconsumer to the result.static <T> IOConsumer<T>IOConsumer.noop()Returns a constant NOOP consumer.Methods in org.apache.commons.io.function with parameters of type IOConsumerModifier and TypeMethodDescriptiondefault IOConsumer<T>IOConsumer.andThen(IOConsumer<? super T> after) Returns a composedIoConsumerthat performs, in sequence, this operation followed by theafteroperation.default IOConsumer<T>IOFunction.andThen(IOConsumer<? super R> after) Returns a composedIOFunctionthat first applies this function to its input, and then applies theafterconsumer to the result. -
Uses of IOConsumer in org.apache.commons.io.output
Constructors in org.apache.commons.io.output with parameters of type IOConsumerModifierConstructorDescriptionThresholdingOutputStream(int threshold, IOConsumer<ThresholdingOutputStream> thresholdConsumer, IOFunction<ThresholdingOutputStream, OutputStream> outputStreamGetter) Constructs an instance of this class which will trigger an event at the specified threshold.