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
FieldsModifier and TypeFieldDescriptionprotected static IndividualMetadataCollectorstatic final StringFields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetFileNameNoExt(File file) protected FileWithIndividualMetadasSourceNodenewInstance(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:
getBlobHolderin interfaceSourceNode- Overrides:
getBlobHolderin classFileSourceNode- Throws:
IOException
-
getMetadataForFolderishNode
-
getChildren
- Specified by:
getChildrenin interfaceSourceNode- Overrides:
getChildrenin classFileSourceNode
-
getFileNameNoExt
-