接口 CoreFileManager
-
public interface CoreFileManager
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 voidcopyFile(FilePathDTO fromFilePath, FilePathDTO toFilePath)default voidcopyFile(CoreFileBean from, CoreFileBean to)default voiddownload(FilePathDTO filePath)voiddownload(FilePathDTO filePath, Path toFile)default voiddownload(CoreFileBean coreFile)default voiddownload(CoreFileBean coreFile, Path toFile)voidduplicateFile(CoreFileBean from, String toFileName)default StringgetAbsoluteDownloadUrl(Long id)StringgetAbsoluteDownloadUrl(FilePathDTO filePath)default StringgetAbsoluteDownloadUrl(CoreFileBean coreFile)default StringgetDownloadUrl(Long id)StringgetDownloadUrl(FilePathDTO filePath)default StringgetDownloadUrl(CoreFileBean coreFile)default voidupload(FilePathDTO filePath, File file)voidupload(FilePathDTO filePath, InputStream is)voidupload(FilePathDTO filePath, Path path)voidupload(FilePathDTO filePath, org.springframework.web.multipart.MultipartFile multipartFile)default voidupload(CoreFileBean coreFile, File file)default voidupload(CoreFileBean coreFile, InputStream is)default voidupload(CoreFileBean coreFile, Path path)default voidupload(CoreFileBean coreFile, org.springframework.web.multipart.MultipartFile multipartFile)
-
-
-
方法详细资料
-
getDownloadUrl
default String getDownloadUrl(CoreFileBean coreFile)
-
getAbsoluteDownloadUrl
default String getAbsoluteDownloadUrl(CoreFileBean coreFile)
-
getDownloadUrl
String getDownloadUrl(FilePathDTO filePath)
-
getAbsoluteDownloadUrl
String getAbsoluteDownloadUrl(FilePathDTO filePath)
-
upload
default void upload(CoreFileBean coreFile, org.springframework.web.multipart.MultipartFile multipartFile)
-
upload
default void upload(CoreFileBean coreFile, Path path)
-
upload
default void upload(CoreFileBean coreFile, File file)
-
upload
default void upload(CoreFileBean coreFile, InputStream is)
-
upload
void upload(FilePathDTO filePath, org.springframework.web.multipart.MultipartFile multipartFile)
-
upload
void upload(FilePathDTO filePath, Path path)
-
upload
default void upload(FilePathDTO filePath, File file)
-
upload
void upload(FilePathDTO filePath, InputStream is)
-
download
void download(FilePathDTO filePath, Path toFile)
-
download
default void download(FilePathDTO filePath)
-
download
default void download(CoreFileBean coreFile, Path toFile)
-
download
default void download(CoreFileBean coreFile)
-
copyFile
void copyFile(FilePathDTO fromFilePath, FilePathDTO toFilePath)
-
copyFile
default void copyFile(CoreFileBean from, CoreFileBean to)
-
duplicateFile
void duplicateFile(CoreFileBean from, String toFileName)
-
-