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.
getOperations
java.lang.Class[] getOperations()
throws FileSystemException
- Returns:
- all operations associated with the fileObject
- Throws:
FileSystemException
- if an error occurs.
getOperation
FileOperation getOperation(java.lang.Class operationClass)
throws FileSystemException
- Parameters:
operationClass
- the operation Class.
- Returns:
- a operation implementing the given
operationClass
- Throws:
FileSystemException
- if an error occus.
hasOperation
boolean hasOperation(java.lang.Class operationClass)
throws FileSystemException
- Parameters:
operationClass
- the operation Class.
- Returns:
- if a operation
operationClass
is available
- Throws:
FileSystemException
- if an error ocurs.
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.