Skip to content

Instantly share code, notes, and snippets.

View HiramZednem's full-sized avatar

Hiram Méndez HiramZednem

View GitHub Profile
@chrisegb
chrisegb / AmazonService.java
Last active October 26, 2022 02:24
This is a Spring Boot Service class that uses an Amazon dependency added from Maven.
package com.your.package;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.io.ResourceLoader;