Done ticket GEPAFINBE-8

This commit is contained in:
harish
2024-08-21 20:55:13 +05:30
parent fa714faef9
commit e7466d16ec
45 changed files with 1642 additions and 0 deletions

View File

@@ -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;
}