Class FileSystemExternalBlobAdapter
java.lang.Object
org.nuxeo.ecm.core.api.externalblob.AbstractExternalBlobAdapter
org.nuxeo.ecm.core.api.externalblob.FileSystemExternalBlobAdapter
- All Implemented Interfaces:
Serializable
,ExternalBlobAdapter
File system external adapter that takes the "container" property to set the absolute path of the container folder on
the file system.
- Author:
- Anahide Tchertchian
- See Also:
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.api.externalblob.AbstractExternalBlobAdapter
prefix, properties
Fields inherited from interface org.nuxeo.ecm.core.api.externalblob.ExternalBlobAdapter
PREFIX_SEPARATOR
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.core.api.externalblob.AbstractExternalBlobAdapter
getLocalName, getPrefix, getProperties, getProperty, setPrefix, setProperties
-
Field Details
-
CONTAINER_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
FileSystemExternalBlobAdapter
public FileSystemExternalBlobAdapter()
-
-
Method Details
-
getFileAbsolutePath
- Throws:
PropertyException
-
getBlob
Description copied from interface:ExternalBlobAdapter
Retrieves the blob for given uri.- Parameters:
uri
- the uri describing what adapter handles the file and the needed info to retrieve it.- Returns:
- the resolved blob.
- Throws:
PropertyException
- if the blob cannot be retrieved (if adapter cannot retrieve it or if file is not found for instance)IOException
-