Interface OwnerOnlyAtomicFile.WriterBody

Enclosing class:
OwnerOnlyAtomicFile
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface static interface OwnerOnlyAtomicFile.WriterBody
Writes the complete content of the file to out; the writer is flushed and closed by the caller.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
  • Method Details

    • writeTo

      void writeTo(Writer out) throws IOException
      Parameters:
      out - the UTF-8 writer on the temporary file
      Throws:
      IOException - if writing fails; the target is then left unchanged