Interface FileUtils.PathWriter<E extends Exception>

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.PathWriter<E extends Exception>
Writes a file or a directory at a given path, handed to it by FileUtils.writeAtomically(Path, PathWriter).
Author:
poirigui
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(Path path)
     
  • Method Details

    • write

      void write(Path path) throws IOException, E
      Parameters:
      path - a path that does not exist yet; the writer creates it, as a regular file or a directory
      Throws:
      IOException
      E