public class JCloudsBinaryManager.JCloudsFileStorage extends Object implements FileStorage
| Constructor and Description | 
|---|
JCloudsFileStorage()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
fetchFile(String digest,
         File tmp)
Fetches a file based on its key. 
 | 
void | 
storeFile(String digest,
         File file)
Stores a file based on a key. 
 | 
public JCloudsFileStorage()
public void storeFile(String digest, File file) throws IOException
FileStoragestoreFile in interface FileStoragedigest - the file keyfile - the fileIOException - if a storage error occurredpublic boolean fetchFile(String digest, File tmp)
FileStoragefetchFile in interface FileStoragedigest - the file keytmp - the file to use to store the fetched datatrue if the file was fetched, false if the file was not foundCopyright © 2019 Nuxeo. All rights reserved.