Class IndividualMetadataCollector
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.properties.MetadataCollector
-
- org.nuxeo.ecm.platform.importer.properties.IndividualMetadataCollector
-
public class IndividualMetadataCollector extends MetadataCollector
The properties are mapped by the collector using as key the path of the file/folder to import.
-
-
Field Summary
-
Fields inherited from class org.nuxeo.ecm.platform.importer.properties.MetadataCollector
ARRAY_SEPARATOR, collectedMetadata, DATE_FORMAT, LIST_SEPARATOR, lock, numPattern, REGEXP_ARRAY_SEPARATOR, REGEXP_LIST_SEPARATOR, staticInherit, useIntrospection
-
-
Constructor Summary
Constructors Constructor Description IndividualMetadataCollector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPropertyFile(File propertyFile)
void
addPropertyFile(File propertyFile, String contextPath)
Map<String,Serializable>
getProperties(File file)
-
Methods inherited from class org.nuxeo.ecm.platform.importer.properties.MetadataCollector
addProperties, addPropertiesFromStrings, getProperties, getProperty, parseFromString
-
-
-
-
Method Detail
-
addPropertyFile
public void addPropertyFile(File propertyFile) throws IOException
- Overrides:
addPropertyFile
in classMetadataCollector
- Throws:
IOException
-
addPropertyFile
public void addPropertyFile(File propertyFile, String contextPath) throws IOException
- Throws:
IOException
-
getProperties
public Map<String,Serializable> getProperties(File file)
-
-