Class FileWithIndividualMetadasSourceNode
java.lang.Object
org.nuxeo.ecm.platform.importer.source.FileSourceNode
org.nuxeo.ecm.platform.importer.source.FileWithIndividualMetadasSourceNode
- All Implemented Interfaces:
SourceNode
SourceNode
implementation that manages Meta-data from properties files per document
The properties are mapped by the collector using as key the path of the file/folder to import.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static IndividualMetadataCollector
static final String
Fields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFileNameNoExt
(File file) protected FileWithIndividualMetadasSourceNode
newInstance
(File file) Methods inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
getFile, getName, getSourcePath, isFolderish
-
Field Details
-
PROPERTY_FILE_SUFFIX
- See Also:
-
collector
-
-
Constructor Details
-
FileWithIndividualMetadasSourceNode
-
FileWithIndividualMetadasSourceNode
-
-
Method Details
-
newInstance
-
getBlobHolder
- Specified by:
getBlobHolder
in interfaceSourceNode
- Overrides:
getBlobHolder
in classFileSourceNode
- Throws:
IOException
-
getMetadataForFolderishNode
-
getChildren
- Specified by:
getChildren
in interfaceSourceNode
- Overrides:
getChildren
in classFileSourceNode
-
getFileNameNoExt
-