public interface FormatterFunc extends ThrowingEx.Function<java.lang.String,java.lang.String>, ThrowingEx.BiFunction<java.lang.String,java.io.File,java.lang.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 java.lang.String |
apply(java.lang.String input,
java.io.File source) |
applydefault java.lang.String apply(java.lang.String input,
java.io.File source)
throws java.lang.Throwable
apply in interface ThrowingEx.BiFunction<java.lang.String,java.io.File,java.lang.String>java.lang.Throwable