Class FileWithNonHeritedIndividalMetaDataSourceNode
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.source.FileSourceNode
-
- org.nuxeo.ecm.platform.importer.source.FileWithNonHeritedIndividalMetaDataSourceNode
-
- All Implemented Interfaces:
SourceNode
public class FileWithNonHeritedIndividalMetaDataSourceNode extends FileSourceNode
-
-
Field Summary
Fields Modifier and Type Field Description static String
ARRAY_SEPARATOR
static String
LIST_SEPARATOR
protected static Pattern
numPattern
static String
PROPERTY_FILE_SUFIX
static String
REGEXP_ARRAY_SEPARATOR
static String
REGEXP_LIST_SEPARATOR
-
Fields inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
file
-
-
Constructor Summary
Constructors Constructor Description FileWithNonHeritedIndividalMetaDataSourceNode(File file)
FileWithNonHeritedIndividalMetaDataSourceNode(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHolder
getBlobHolder()
List<SourceNode>
getChildren()
protected boolean
isPropertyFile(File file)
protected Map<String,Serializable>
loadPropertyFile(File propertyFile)
protected Serializable
parseFromString(String value)
-
Methods inherited from class org.nuxeo.ecm.platform.importer.source.FileSourceNode
getFile, getFileNameNoExt, getName, getSourcePath, isFolderish
-
-
-
-
Field Detail
-
PROPERTY_FILE_SUFIX
public static final String PROPERTY_FILE_SUFIX
- See Also:
- Constant Field Values
-
numPattern
protected static Pattern numPattern
-
LIST_SEPARATOR
public static final String LIST_SEPARATOR
- See Also:
- Constant Field Values
-
REGEXP_LIST_SEPARATOR
public static final String REGEXP_LIST_SEPARATOR
- See Also:
- Constant Field Values
-
ARRAY_SEPARATOR
public static final String ARRAY_SEPARATOR
- See Also:
- Constant Field Values
-
REGEXP_ARRAY_SEPARATOR
public static final String REGEXP_ARRAY_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChildren
public List<SourceNode> getChildren()
- Specified by:
getChildren
in interfaceSourceNode
- Overrides:
getChildren
in classFileSourceNode
-
isPropertyFile
protected boolean isPropertyFile(File file)
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolder
in interfaceSourceNode
- Overrides:
getBlobHolder
in classFileSourceNode
- Throws:
IOException
-
loadPropertyFile
protected Map<String,Serializable> loadPropertyFile(File propertyFile)
-
parseFromString
protected Serializable parseFromString(String value)
-
-