Interface FormatterFunc

  • All Known Subinterfaces:
    FormatterFunc.Closeable, FormatterFunc.NeedsFile
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface FormatterFunc
    A Function<String, String> which can throw an exception. Technically, there is also a File argument which gets passed around as well, but that is invisible to formatters. If you need the File, see FormatterFunc.NeedsFile.