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 | 
|---|---|
protected static IndividualMetadataCollector | 
collector  | 
static String | 
PROPERTY_FILE_SUFFIX  | 
static String | 
PROPERTY_FILE_SUFIX
Deprecated. 
 
since 8.3 misspelled 
 | 
file| 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()  | 
protected boolean | 
isPropertyFile(File file)
Deprecated. 
 
since 8.3 unused. 
 | 
protected FileWithIndividualMetadasSourceNode | 
newInstance(File file)  | 
getFile, getName, getSourcePath, isFolderishpublic static final String PROPERTY_FILE_SUFFIX
@Deprecated public static final String PROPERTY_FILE_SUFIX
protected static IndividualMetadataCollector collector
public FileWithIndividualMetadasSourceNode(File file)
public FileWithIndividualMetadasSourceNode(String path)
protected FileWithIndividualMetadasSourceNode newInstance(File file)
public BlobHolder getBlobHolder() throws IOException
getBlobHolder in interface SourceNodegetBlobHolder in class FileSourceNodeIOExceptionpublic Map<String,Serializable> getMetadataForFolderishNode()
public List<SourceNode> getChildren()
getChildren in interface SourceNodegetChildren in class FileSourceNode@Deprecated protected boolean isPropertyFile(File file)
public static String getFileNameNoExt(File file)
Copyright © 2019 Nuxeo. All rights reserved.