This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static TransferUtility getS3TransferUtility(String fileName,File file){ | |
AmazonS3Client s3client = new AmazonS3Client(new AWSCredentials() { | |
@Override | |
public String getAWSAccessKeyId() { | |
return App.ACCESS_KEY; | |
} | |
@Override | |
public String getAWSSecretKey() { | |
return App.SECRET_KEY; |