All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tdl.s3.upload.UploadingStrategy Maven / Gradle / Ivy

Go to download

Library that continuously syncs the contents of a folder to an S3 bucket. Optimised for streaming file formats (video, logs).

The newest version!
package tdl.s3.upload;


import tdl.s3.sync.destination.Destination;
import tdl.s3.sync.destination.DestinationOperationException;
import tdl.s3.sync.progress.ProgressListener;

import java.io.File;
import java.io.IOException;

public interface UploadingStrategy {
    
    void setDestination(Destination destination);

    void upload(File file, String remotePath) throws DestinationOperationException, IOException;

    void setListener(ProgressListener listener);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy