public interface FileStorage
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 occurredLong fetchLength(String key) throws IOException
key
- the file keynull
if the file was not foundIOException
- if a storage error occurredCopyright © 2015 Nuxeo SA. All rights reserved.