Class ScanedFileSourceNode
java.lang.Object
org.nuxeo.ecm.platform.importer.source.FileSourceNode
org.nuxeo.ecm.platform.scanimporter.processor.ScanedFileSourceNode
- All Implemented Interfaces:
SourceNode
Custom implementation of
SourceNode
. Uses XML descriptors to get meta-data and binary files location.- Author:
- Thierry Delprat
-
Field Summary
Modifier and TypeFieldDescriptionprotected ScanFileBlobHolder
protected Map<String,
Serializable> protected static boolean
Fields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file
-
Constructor Summary
ConstructorDescriptionScanedFileSourceNode
(File file) ScanedFileSourceNode
(File file, Map<String, Serializable> properties) ScanedFileSourceNode
(File file, ScanFileBlobHolder bh) -
Method Summary
Methods inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
getFile, getFileNameNoExt, getSourcePath, isFolderish
-
Field Details
-
properties
-
bh
-
useXMLMapping
protected static boolean useXMLMapping
-
-
Constructor Details
-
ScanedFileSourceNode
-
ScanedFileSourceNode
-
ScanedFileSourceNode
-
-
Method Details
-
getBlobHolder
- Specified by:
getBlobHolder
in interfaceSourceNode
- Overrides:
getBlobHolder
in classFileSourceNode
- Throws:
IOException
-
getChildren
- Specified by:
getChildren
in interfaceSourceNode
- Overrides:
getChildren
in classFileSourceNode
- Throws:
IOException
-
getName
- Specified by:
getName
in interfaceSourceNode
- Overrides:
getName
in classFileSourceNode
-
getDescriptorFileName
-