Package | Description |
---|---|
org.apache.commons.io.file |
Provides extensions in the realm of
java.nio.file . |
org.apache.commons.io.function |
Provides IO-only related functional interfaces for lambda expressions and method references.
|
Modifier and Type | Field and Description |
---|---|
private IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> |
SimplePathVisitor.visitFileFailedFunction |
Constructor and Description |
---|
AccumulatorPathVisitor(Counters.PathCounters pathCounter,
PathFilter fileFilter,
PathFilter dirFilter,
IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.
|
CountingPathVisitor(Counters.PathCounters pathCounter,
PathFilter fileFilter,
PathFilter dirFilter,
IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.
|
NoopPathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.
|
SimplePathVisitor(IOBiFunction<java.nio.file.Path,java.io.IOException,java.nio.file.FileVisitResult> visitFileFailed)
Constructs a new instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IOBinaryOperator<T>
Like
BinaryOperator but throws IOException . |
Modifier and Type | Field and Description |
---|---|
(package private) static IOBiFunction |
Constants.IO_BI_FUNCTION
No-op singleton.
|
Modifier and Type | Method and Description |
---|---|
default <V> IOBiFunction<T,U,V> |
IOBiFunction.andThen(IOFunction<? super R,? extends V> after)
Creates a composed function that first applies this function to its input, and then applies the
after
function to the result. |
Modifier and Type | Method and Description |
---|---|
(package private) static <T,U,R> R |
Erase.apply(IOBiFunction<? super T,? super U,? extends R> mapper,
T t,
U u)
Delegates to the given
IOBiFunction but erases its IOException for the compiler, while still throwing
the exception at runtime. |
static <T,U,R> R |
Uncheck.apply(IOBiFunction<T,U,R> function,
T t,
U u)
Applies an IO function with the given arguments.
|
default <U> U |
IOStream.reduce(U identity,
IOBiFunction<U,? super T,U> accumulator,
IOBinaryOperator<U> combiner)
Like
Stream.reduce(Object, BiFunction, java.util.function.BinaryOperator) . |