org.minijax.s3.MockUploadService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minijax-s3 Show documentation
Show all versions of minijax-s3 Show documentation
Minijax S3 upload features
package org.minijax.s3;
import java.io.File;
import java.io.IOException;
public class MockUploadService extends UploadService {
public MockUploadService() {
super(null);
}
@Override
public String upload(final String bucketName, final String keyName, final File file) throws IOException {
return "https://" + bucketName + "/" + keyName;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy