Class FileWithIndividualMetadasSourceNode
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.source.FileSourceNode
-
- org.nuxeo.ecm.platform.importer.source.FileWithIndividualMetadasSourceNode
-
- All Implemented Interfaces:
SourceNode
public class FileWithIndividualMetadasSourceNode extends FileSourceNode
SourceNodeimplementation that manages Meta-data from properties files per documentThe properties are mapped by the collector using as key the path of the file/folder to import.
-
-
Field Summary
Fields Modifier and Type Field Description protected static IndividualMetadataCollectorcollectorstatic StringPROPERTY_FILE_SUFFIXstatic StringPROPERTY_FILE_SUFIXDeprecated.since 8.3 misspelled-
Fields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file
-
-
Constructor Summary
Constructors Constructor Description FileWithIndividualMetadasSourceNode(File file)FileWithIndividualMetadasSourceNode(String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BlobHoldergetBlobHolder()List<SourceNode>getChildren()static StringgetFileNameNoExt(File file)Map<String,Serializable>getMetadataForFolderishNode()protected booleanisPropertyFile(File file)Deprecated.since 8.3 unused.protected FileWithIndividualMetadasSourceNodenewInstance(File file)-
Methods inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
getFile, getName, getSourcePath, isFolderish
-
-
-
-
Field Detail
-
PROPERTY_FILE_SUFFIX
public static final String PROPERTY_FILE_SUFFIX
- See Also:
- Constant Field Values
-
PROPERTY_FILE_SUFIX
@Deprecated public static final String PROPERTY_FILE_SUFIX
Deprecated.since 8.3 misspelled- See Also:
- Constant Field Values
-
collector
protected static IndividualMetadataCollector collector
-
-
Method Detail
-
newInstance
protected FileWithIndividualMetadasSourceNode newInstance(File file)
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolderin interfaceSourceNode- Overrides:
getBlobHolderin classFileSourceNode- Throws:
IOException
-
getMetadataForFolderishNode
public Map<String,Serializable> getMetadataForFolderishNode()
-
getChildren
public List<SourceNode> getChildren()
- Specified by:
getChildrenin interfaceSourceNode- Overrides:
getChildrenin classFileSourceNode
-
isPropertyFile
@Deprecated protected boolean isPropertyFile(File file)
Deprecated.since 8.3 unused.
-
-