Done ticket GEPAFINBE-8
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package net.gepafin.tendermanagement.service;
|
||||
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
|
||||
@Component
|
||||
public interface AmazonS3Service {
|
||||
|
||||
|
||||
public String upload(String fileName,
|
||||
MultipartFile file) throws IOException;
|
||||
|
||||
public Boolean delete(String bucketName ,String fileName);
|
||||
|
||||
InputStream getFile(String filePath) throws IOException;
|
||||
}
|
||||
Reference in New Issue
Block a user