Interface FileManager.WriteAction

  • Enclosing class:
    FileManager
    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 FileManager.WriteAction
    A functional interface for a write operation that can throw IOExceptions.
    • Method Detail

      • perform

        void perform​(java.io.Writer writer)
              throws java.io.IOException
        Performs the operation on the given writer.
        Parameters:
        writer - the object to use for writing
        Throws:
        java.io.IOException - if an error happens while writing