public class GenericFileDefaultMoveExistingFileStrategy extends Object implements FileMoveExistingStrategy
| Constructor and Description |
|---|
GenericFileDefaultMoveExistingFileStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
moveExistingFile(GenericFileEndpoint endpoint,
GenericFileOperations operations,
String fileName)
Moves any existing file due fileExists=Move is in use.
|
public GenericFileDefaultMoveExistingFileStrategy()
public boolean moveExistingFile(GenericFileEndpoint endpoint, GenericFileOperations operations, String fileName) throws GenericFileOperationFailedException
moveExistingFile in interface FileMoveExistingStrategyendpoint - the given endpoint of the componentoperations - file operations API of the relevant component's APIGenericFileOperationFailedExceptionApache Camel