Interface FilePathOperation<C>

  • 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 FilePathOperation<C>

    Baseclass for File Operations

    Since:
    1.0
    Author:
    Andreas Pointner
    • Method Detail

      • perform

        void perform​(C context,
                     String sourcePath,
                     String targetPath)
              throws IOException
        Performs an operation on a FilePath
        Parameters:
        context - the context in which the operation if performed
        sourcePath - the source path of the file on that the operation should be executed
        targetPath - the target path where the resulting file should be stored
        Throws:
        IOException - if an error during the file operations occurs