Interface FileUtils.FileWriter

  • Enclosing class:
    FileUtils
    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 static interface FileUtils.FileWriter
    A file writer, that accepts a Path to write some content to. Note: the file denoted by path may exist, hence implementation have to ensure it is able to achieve its goal ("replace existing" option or equivalent should be used).
    • Method Detail

      • write

        void write​(java.nio.file.Path path)
            throws java.io.IOException
        Throws:
        java.io.IOException