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, isFolderishpublic static final String PROPERTY_FILE_SUFIX
public FileWithIndividualMetadasSourceNode(File file)
public FileWithIndividualMetadasSourceNode(String path)
public BlobHolder getBlobHolder()
getBlobHolder in interface SourceNodegetBlobHolder in class FileSourceNodepublic Map<String,Serializable> getMetadataForFolderishNode()
public List<SourceNode> getChildren()
getChildren in interface SourceNodegetChildren in class FileSourceNodeCopyright © 2014 Nuxeo SA. All rights reserved.