public class FileWithIndividualMetadasSourceNode extends FileSourceNode
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.
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_FILE_SUFIX |
Constructor and Description |
---|
FileWithIndividualMetadasSourceNode(File file) |
FileWithIndividualMetadasSourceNode(String path) |
Modifier and Type | Method and Description |
---|---|
BlobHolder |
getBlobHolder() |
List<SourceNode> |
getChildren() |
static String |
getFileNameNoExt(File file) |
Map<String,Serializable> |
getMetadataForFolderishNode() |
getFile, getName, getSourcePath, isFolderish
public static final String PROPERTY_FILE_SUFIX
public FileWithIndividualMetadasSourceNode(File file)
public FileWithIndividualMetadasSourceNode(String path)
public BlobHolder getBlobHolder()
getBlobHolder
in interface SourceNode
getBlobHolder
in class FileSourceNode
public Map<String,Serializable> getMetadataForFolderishNode()
public List<SourceNode> getChildren()
getChildren
in interface SourceNode
getChildren
in class FileSourceNode
Copyright © 2011 Nuxeo SA. All Rights Reserved.