Uses of Interface
org.apache.commons.io.function.IOFunction
Packages that use IOFunction
Package
Description
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 IOFunction in org.apache.commons.io.function
Methods in org.apache.commons.io.function that return IOFunctionModifier and TypeMethodDescriptiondefault <V> IOFunction<T,
V> Returns a composedIOFunction
that first applies this function to its input, and then applies theafter
function to the result.default <V> IOFunction<T,
V> IOFunction.andThen
(IOFunction<? super R, ? extends V> after) Returns a composedIOFunction
that first applies this function to its input, and then applies theafter
function to the result.default <V> IOFunction<V,
R> Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result.default <V> IOFunction<V,
R> IOFunction.compose
(IOFunction<? super V, ? extends T> before) Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result.static <T> IOFunction<T,
T> IOFunction.identity()
Returns aIOFunction
that always returns its input argument.Methods in org.apache.commons.io.function with parameters of type IOFunctionModifier and TypeMethodDescriptiondefault <V> IOFunction<T,
V> IOFunction.andThen
(IOFunction<? super R, ? extends V> after) Returns a composedIOFunction
that first applies this function to its input, and then applies theafter
function to the result.default <V> IOFunction<V,
R> IOFunction.compose
(IOFunction<? super V, ? extends T> before) Returns a composedIOFunction
that first applies thebefore
function to its input, and then applies this function to the result. -
Uses of IOFunction in org.apache.commons.io.output
Constructors in org.apache.commons.io.output with parameters of type IOFunctionModifierConstructorDescriptionThresholdingOutputStream
(int threshold, IOConsumer<ThresholdingOutputStream> thresholdConsumer, IOFunction<ThresholdingOutputStream, OutputStream> outputStreamGetter) Constructs an instance of this class which will trigger an event at the specified threshold.