org.apache.commons.vfs.operations
Interface FileOperations

All Known Implementing Classes:
DefaultFileOperations

public interface FileOperations

FileOperations interface provides API to work with operations.

Since:
0.1
Author:
Siarhei Baidun
See Also:
on what a operation in the context of VFS is.

Method Summary
 FileOperation getOperation(Class operationClass)
           
 Class[] getOperations()
           
 boolean hasOperation(Class operationClass)
           
 

Method Detail

getOperations

public Class[] getOperations()
                      throws FileSystemException
Returns:
all operations associated with the fileObject
Throws:
FileSystemException

getOperation

public FileOperation getOperation(Class operationClass)
                           throws FileSystemException
Returns:
a operation implementing the given operationClass
Throws:
FileSystemException

hasOperation

public boolean hasOperation(Class operationClass)
                     throws FileSystemException
Returns:
if a operation operationClass is available
Throws:
FileSystemException


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