Class ImportBasedFactory

java.lang.Object
org.nuxeo.ecm.platform.content.template.factories.BaseContentFactory
org.nuxeo.ecm.platform.content.template.factories.ImportBasedFactory
All Implemented Interfaces:
ContentFactory

public class ImportBasedFactory extends BaseContentFactory
This factory will import a file using a path defined in the option of the factoryBinding extension point. This path can be defined using three different prefix. absolute:myAbsolute path will reference a file on the server's filesystem, nxData:myPath will reference a file inside nuxeo data folder and resource:myPath will reference a file in the bundle's resources. If the file exist, it's imported by the FileManager service.
Author:
ldoguin