saker.util Documentation TaskDoc JavaDoc Packages
public interface IOFunction<T, R>
Functional interface similar to Function but is usable in an I/O error-prone context.

The method of this interface may throw an IOException.

TThe type of the first argument.
RThe return type of the function.
Methods
public R
apply(T t)
Applies the function to the given argument.
public abstract R apply(T t) throws IOException
Applies the function to the given argument.
tThe argument.
The calculated result value.
IOExceptionIn case of I/O error.