public interface FileStorage
Modifier and Type | Method and Description |
---|---|
boolean |
fetchFile(String key,
File file)
Fetches a file based on its key.
|
void |
storeFile(String key,
File file)
Stores a file based on a key.
|
void storeFile(String key, File file) throws IOException
key
- the file keyfile
- the fileIOException
- if a storage error occurredboolean fetchFile(String key, File file) throws IOException
key
- the file keyfile
- the file to use to store the fetched datatrue
if the file was fetched, false
if the file was not foundIOException
- if a storage error occurredCopyright © 2017 Nuxeo. All rights reserved.