Interface FileOperations
- All Known Implementing Classes:
- DefaultFileOperations
public interface FileOperations
FileOperations interface provides API to work with operations.
- Since:
- 0.1
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiongetOperation(Class<? extends FileOperation> operationClass) Gets the file operation for the given class.Class<? extends FileOperation>[]Gets all operations associated with this instance.booleanhasOperation(Class<? extends FileOperation> operationClass) Tests @return whether an operationoperationClassis available.
- 
Method Details- 
getOperationFileOperation getOperation(Class<? extends FileOperation> operationClass) throws FileSystemException Gets the file operation for the given class.- Parameters:
- operationClass- the operation Class.
- Returns:
- an operation implementing the given operationClass.
- Throws:
- FileSystemException- if an error occurs.
 
- 
getOperationsGets all operations associated with this instance.- Returns:
- all operations associated with this instance.
- Throws:
- FileSystemException- if an error occurs.
 
- 
hasOperationTests @return whether an operationoperationClassis available.- Parameters:
- operationClass- the operation Class.
- Returns:
- whether an operation operationClassis available.
- Throws:
- FileSystemException- if an error occurs.
 
 
-