Class FileWithMetadataSourceNode
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.source.FileSourceNode
-
- org.nuxeo.ecm.platform.importer.source.FileWithMetadataSourceNode
-
- All Implemented Interfaces:
SourceNode
public class FileWithMetadataSourceNode extends FileSourceNode
SourceNode
implementation that manages Meta-data from properties files- Author:
- Thierry Delprat
-
-
Field Summary
Fields Modifier and Type Field Description protected static MetadataCollector
collector
static String
METADATA_FILENAME
-
Fields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file
-
-
Constructor Summary
Constructors Constructor Description FileWithMetadataSourceNode(File file)
FileWithMetadataSourceNode(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolder
getBlobHolder()
List<SourceNode>
getChildren()
-
Methods inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
getFile, getFileNameNoExt, getName, getSourcePath, isFolderish
-
-
-
-
Field Detail
-
collector
protected static MetadataCollector collector
-
METADATA_FILENAME
public static final String METADATA_FILENAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolder
in interfaceSourceNode
- Overrides:
getBlobHolder
in classFileSourceNode
- Throws:
IOException
-
getChildren
public List<SourceNode> getChildren()
- Specified by:
getChildren
in interfaceSourceNode
- Overrides:
getChildren
in classFileSourceNode
-
-