CropAssetCopyTool
This commit is contained in:
@@ -162,7 +162,7 @@ public class CropAssetCopyTool {
|
||||
int num = Integer.parseInt(oldName.substring(oldName.length() - 3));
|
||||
num++;
|
||||
newName = oldName.substring(0, oldName.length() - 3) + String.format("%03d", num) + "."
|
||||
+ FilenameUtils.getExtension(oldName);
|
||||
+ FilenameUtils.getExtension(targetFile.getName());
|
||||
}
|
||||
targetFile = new File(targetDir + "\\" + newName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user