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 StringARRAY_SEPARATORstatic StringLIST_SEPARATORprotected static PatternnumPatternstatic StringPROPERTY_FILE_SUFIXstatic StringREGEXP_ARRAY_SEPARATORstatic StringREGEXP_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 BlobHoldergetBlobHolder()List<SourceNode>getChildren()protected booleanisPropertyFile(File file)protected Map<String,Serializable>loadPropertyFile(File propertyFile)protected SerializableparseFromString(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:
getChildrenin interfaceSourceNode- Overrides:
getChildrenin classFileSourceNode
-
isPropertyFile
protected boolean isPropertyFile(File file)
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolderin interfaceSourceNode- Overrides:
getBlobHolderin classFileSourceNode- Throws:
IOException
-
loadPropertyFile
protected Map<String,Serializable> loadPropertyFile(File propertyFile)
-
parseFromString
protected Serializable parseFromString(String value)
-
-