Package | Description |
---|---|
org.apache.commons.io |
Provides classes for working with streams, readers, writers and files.
|
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) static int |
IOUtils.read(IOTriFunction<byte[],java.lang.Integer,java.lang.Integer,java.lang.Integer> input,
byte[] buffer,
int offset,
int length)
Reads bytes from an input.
|
(package private) static byte[] |
IOUtils.toByteArray(IOTriFunction<byte[],java.lang.Integer,java.lang.Integer,java.lang.Integer> input,
int size)
Gets the contents of an input as a
byte[] . |
Modifier and Type | Method and Description |
---|---|
default <W> IOTriFunction<T,U,V,W> |
IOTriFunction.andThen(IOFunction<? super R,? extends W> 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 |
---|---|
static <T,U,V,R> R |
Uncheck.apply(IOTriFunction<T,U,V,R> function,
T t,
U u,
V v)
Applies an IO tri-function with the given arguments.
|