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 FileMoveExistingStrategy
endpoint
- the given endpoint of the componentoperations
- file operations API of the relevant component's APIGenericFileOperationFailedException
Apache Camel