接口 FSSupport<T>
public interface FSSupport<T>
-
方法概要
修饰符和类型方法说明default StringdefaultPath(String rootPath, NkProperties tfmsProperties)org.springframework.http.ResponseEntity获取下载链接org.springframework.http.ResponseEntity<T>初始化上传配置void将文件从临时目录转移到正式目录upload(org.springframework.web.multipart.MultipartFile file)上传文件到临时文件夹
-
方法详细资料
-
defaultPath
-
init
初始化上传配置- 返回:
-
upload
上传文件到临时文件夹- 参数:
file- 文件- 返回:
- 上传结果
-
moveTo
将文件从临时目录转移到正式目录- 参数:
source-target-
-
download
获取下载链接- 参数:
url-- 返回:
-