public abstract class AbstractProvider extends Object implements StorageProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
accessKey |
protected String |
bucket |
protected static String |
DIR_SPLITER |
protected String |
prefix |
protected boolean |
privated |
protected String |
secretKey |
| Constructor and Description |
|---|
AbstractProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
downloadAndSaveAs(String file,
String localSaveDir,
boolean isInternal) |
static String |
downloadFile(String fileURL,
String saveDir) |
protected String |
getFullPath(String file) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateUploadToken, delete, getUrl, name, uploadprotected static final String DIR_SPLITER
protected String accessKey
protected String secretKey
protected String bucket
protected String prefix
protected boolean privated
public String downloadAndSaveAs(String file, String localSaveDir, boolean isInternal)
downloadAndSaveAs in interface StorageProviderCopyright © 2019. All rights reserved.