Interface FileOperations
-
- All Known Implementing Classes:
DefaultFileOperations
public interface FileOperations
FileOperations interface provides API to work with operations.- Since:
- 0.1
- See Also:
on what a operation in the context of VFS is.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileOperation
getOperation(java.lang.Class<? extends FileOperation> operationClass)
java.lang.Class<? extends FileOperation>[]
getOperations()
boolean
hasOperation(java.lang.Class<? extends FileOperation> operationClass)
-
-
-
Method Detail
-
getOperations
java.lang.Class<? extends FileOperation>[] getOperations() throws FileSystemException
- Returns:
- all operations associated with the fileObject
- Throws:
FileSystemException
- if an error occurs.
-
getOperation
FileOperation getOperation(java.lang.Class<? extends FileOperation> 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<? extends FileOperation> operationClass) throws FileSystemException
- Parameters:
operationClass
- the operation Class.- Returns:
- if a operation
operationClass
is available - Throws:
FileSystemException
- if an error ocurs.
-
-