【8.3.4】【file】增加一个获取指定文件路径的方法

master
stylefeng 2025-04-11 14:00:40 +08:00
parent 86e20a8455
commit f5619c3841
1 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,8 @@ package cn.stylefeng.roses.kernel.file.api.util;
import cn.hutool.system.SystemUtil;
import cn.stylefeng.roses.kernel.file.api.expander.FileConfigExpander;
import java.io.File;
/**
*
* <p>
@ -27,4 +29,14 @@ public class LocalFilePathUtil {
}
}
/**
* bucket
*
* @author fengshuonan
* @since 2025/4/11 13:57
*/
public static String getObjectPath(String bucket, String objectName) {
return LocalFilePathUtil.getCurrentSavePath() + File.separator + bucket + File.separator + objectName;
}
}