Package science.aist.gtf.template
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
perform(C context, String sourcePath, String targetPath)
Performs an operation on a FilePath
-
-
-
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 performedsourcePath
- the source path of the file on that the operation should be executedtargetPath
- the target path where the resulting file should be stored- Throws:
IOException
- if an error during the file operations occurs
-
-