public interface FormatterFunc extends ThrowingEx.Function<String,String>, ThrowingEx.BiFunction<String,File,String>
A Function<String, String>
which can throw an exception.
Also the BiFunction<String, File, String>
is supported, whereas the default
implementation only requires the Function<String, String>
implementation.
Modifier and Type | Interface and Description |
---|---|
static interface |
FormatterFunc.Closeable
Function<String, String> and BiFunction<String, File, String> whose implementation
requires a resource which should be released when the function is no longer needed. |
Modifier and Type | Method and Description |
---|---|
default String |
apply(String input,
File source) |
apply