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
Modifier and Type | Method and Description |
---|---|
void |
process()
Performs necessary actions that are related to the concrete implementation of a FileOperation.
|
void process() throws FileSystemException
FileSystemException
- if an error occursCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.