Interface FileUploader
- All Known Implementing Classes:
LocalFilesystem,S3Protocol
public interface FileUploader
An interface for classes capable of uploading a String to a file in a location specified by a URI.
-
Method Summary
-
Method Details
-
upload
Uploads a String to file at a location specified by the URI.- Parameters:
uri- A URI that points to the location where to upload the file. Must not be nullupload- A String to upload as a file. Must not be null- Throws:
IOException- if any error occurs during the upload
-