public class RemoteFiles extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
download(String remoteKey,
File localFile) |
static RemoteFiles |
getAuthenticated() |
static RemoteFiles |
getDefault() |
boolean |
isSync(String remoteKey,
File localFile) |
void |
shutdown() |
void |
upload(File localFile,
String remoteKey) |
public static RemoteFiles getDefault()
public static RemoteFiles getAuthenticated()
public void upload(File localFile, String remoteKey) throws InterruptedException, FileNotFoundException
public void download(String remoteKey, File localFile) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic boolean isSync(String remoteKey, File localFile) throws IOException
IOExceptionpublic void shutdown()
Copyright © 2020–2021 ICIJ. All rights reserved.