
io.leopard.data.dfs.service.image.ImageDfsService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leopard-dfs Show documentation
Show all versions of leopard-dfs Show documentation
分布式文件系统实现,目前只是做了基于GridFS的实现,可以在本机文件系统进行缓存。
package io.leopard.data.dfs.service.image;
import java.io.IOException;
import java.util.List;
import org.springframework.web.multipart.MultipartFile;
public interface ImageDfsService {
String save(long uid, String folder, byte[] data, String sizeList) throws IOException;
String save(long uid, String folder, MultipartFile file, String sizeList) throws IOException;
String save(long uid, String folder, MultipartFile file, String sizeList, int width, int height) throws IOException;
List save(long uid, String folder, List pictureList, String sizeList) throws IOException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy