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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileOperation
getOperation(java.lang.Class operationClass)
java.lang.Class[]
getOperations()
boolean
hasOperation(java.lang.Class operationClass)
-
-
-
Method Detail
-
getOperations
java.lang.Class[] getOperations() throws FileSystemException
- Returns:
- all operations associated with the fileObject
- Throws:
FileSystemException
-
getOperation
FileOperation getOperation(java.lang.Class operationClass) throws FileSystemException
- Returns:
- a operation implementing the given
operationClass
- Throws:
FileSystemException
-
hasOperation
boolean hasOperation(java.lang.Class operationClass) throws FileSystemException
- Returns:
- if a operation
operationClass
is available - Throws:
FileSystemException
-
-