com.uid2.shared.cloud.ICloudStorage Maven / Gradle / Ivy
package com.uid2.shared.cloud;
import java.io.InputStream;
import java.net.URL;
import java.util.Collection;
import java.util.List;
public interface ICloudStorage extends DownloadCloudStorage {
void upload(String localPath, String cloudPath) throws CloudStorageException;
void upload(InputStream input, String cloudPath) throws CloudStorageException;
void delete(String cloudPath) throws CloudStorageException;
void delete(Collection cloudPaths) throws CloudStorageException;
List list(String prefix) throws CloudStorageException;
URL preSignUrl(String cloudPath) throws CloudStorageException;
void setPreSignedUrlExpiry(long expiry);
String mask(String cloudPath);
}