Interface FileOperation
-
- All Known Implementing Classes:
AbstractFileOperation
public interface FileOperation
A FileOperation is an object that brings an extra function to a FileObject. The VFS provides the basic functionality to deal with FileObject's. That is create, delete, rename, copy, and so on functions. However, if you are working with FileSystem and its files are, for example, under Version Control System (VCS) you might want to get an access to the versioning framework and to be able to manage your files regarding VCS (e.g. commit them, update, get logs, etc.). Such type of extended functionality is provided by FileOperation.
The FileOperation interface is a genetic interface that should not be implemented directly. It rather should be extended by other interfaces that provide some concrete functions.
FileOperation is provided by
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
process()
Performs necessary actions that are related to the concrete implementation of a FileOperation.
-
-
-
Method Detail
-
process
void process() throws FileSystemException
Performs necessary actions that are related to the concrete implementation of a FileOperation.- Throws:
FileSystemException
- if an error occurs
-
-