| 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 | Method and Description |
|---|---|
(package private) IOBiFunction<Path,IOException,FileVisitResult> |
SimplePathVisitor.AbstractBuilder.getVisitFileFailedFunction() |
| Modifier and Type | Method and Description |
|---|---|
B |
SimplePathVisitor.AbstractBuilder.setVisitFileFailedFunction(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailedFunction)
Sets the function to call on
SimplePathVisitor.visitFileFailed(Path, IOException). |
| Constructor and Description |
|---|
AccumulatorPathVisitor(Counters.PathCounters pathCounter,
PathFilter fileFilter,
PathFilter dirFilter,
IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)
Deprecated.
|
CountingPathVisitor(Counters.PathCounters pathCounters,
PathFilter fileFilter,
PathFilter directoryFilter,
IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)
Deprecated.
|
NoopPathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailed)
Constructs a new instance.
|
SimplePathVisitor(IOBiFunction<Path,IOException,FileVisitResult> visitFileFailedFunction)
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). |