All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.leopard.data.dfs.service.image.ImageDfsService Maven / Gradle / Ivy

Go to download

分布式文件系统实现,目前只是做了基于GridFS的实现,可以在本机文件系统进行缓存。

There is a newer version: 0.9.12
Show newest version
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