Class FileSourceNode
- java.lang.Object
-
- org.nuxeo.ecm.platform.importer.source.FileSourceNode
-
- All Implemented Interfaces:
SourceNode
- Direct Known Subclasses:
FileWithIndividualMetadasSourceNode,FileWithMetadataSourceNode,FileWithNonHeritedIndividalMetaDataSourceNode,ScanedFileSourceNode,XMLFileSourceNode
public class FileSourceNode extends Object implements SourceNode
Simple Filesystem basedSourceNode- Author:
- Thierry Delprat
-
-
Constructor Summary
Constructors Constructor Description FileSourceNode(File file)FileSourceNode(String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlobHoldergetBlobHolder()List<SourceNode>getChildren()FilegetFile()static StringgetFileNameNoExt(File file)StringgetName()StringgetSourcePath()booleanisFolderish()
-
-
-
Field Detail
-
file
protected File file
-
-
Method Detail
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolderin interfaceSourceNode- Throws:
IOException
-
getChildren
public List<SourceNode> getChildren() throws IOException
- Specified by:
getChildrenin interfaceSourceNode- Throws:
IOException
-
isFolderish
public boolean isFolderish()
- Specified by:
isFolderishin interfaceSourceNode
-
getName
public String getName()
- Specified by:
getNamein interfaceSourceNode
-
getSourcePath
public String getSourcePath()
- Specified by:
getSourcePathin interfaceSourceNode
-
getFile
public File getFile()
-
-