org.apache.commons.vfs.operations
Interface FileOperation

All Known Subinterfaces:
VcsAdd, VcsCheckout, VcsCommit, VcsDelete, VcsLog, VcsRevert, VcsStatus, VcsUpdate
All Known Implementing Classes:
AbstractFileOperation

public interface FileOperation

A FileOperation is an object that brings an extra functions to a FileObject. The VFS provides the basic functionality to deal with FileObject's. Tha is create, delete, rename, copy, etc 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, undate, 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

Since:
0.1
Author:
Siarhei Baidun
See Also:
Especially the FileOperationProvider is responsible for looking up and instantiating any concrete FileOperation.


Method Summary
 void process()
          Performs necessary actions that are related to the concrete implementation of a FileOperation.
 

Method Detail

process

public void process()
             throws FileSystemException
Performs necessary actions that are related to the concrete implementation of a FileOperation.

Throws:
FileSystemException


Copyright © 2002-2006 The Apache Software Foundation. All Rights Reserved.