public final class MoveExistingFileStrategyUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
completePartialRelativePath(String destinationPath,
String fileOnlyName,
String directoryName)
This method manipulates the destinationPath in case of moveExisting parameter is expressed as file language
expression subdirectory name of the directoryName adding directoryName on top and file name at the end.
|
public static String completePartialRelativePath(String destinationPath, String fileOnlyName, String directoryName)
destinationPath
- the destination pathfileOnlyName
- the file name without the pathdirectoryName
- the path of the file to be moved/renamedApache Camel