Class FilesystemBlobProvider

  • All Implemented Interfaces:

    public class FilesystemBlobProvider
    extends AbstractBlobProvider
    Blob provider that can reference files on the filesystem.

    This blob provider MUST be configured with a "root" property that specifies the minimum root path for all files:

     <blobprovider name="myfsblobprovider">
       <property name="root">/base/directory/for/files</property>

    A root of / may be used to allow any path.

    Blobs are constructed through createBlob(org.nuxeo.ecm.core.blob.BlobInfo). The constructed blob's key, which will be stored in the document database, contains a path relative to the root.