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 BlobHolder
getBlobHolder()
List<SourceNode>
getChildren()
File
getFile()
static String
getFileNameNoExt(File file)
String
getName()
String
getSourcePath()
boolean
isFolderish()
-
-
-
Field Detail
-
file
protected File file
-
-
Method Detail
-
getBlobHolder
public BlobHolder getBlobHolder() throws IOException
- Specified by:
getBlobHolder
in interfaceSourceNode
- Throws:
IOException
-
getChildren
public List<SourceNode> getChildren() throws IOException
- Specified by:
getChildren
in interfaceSourceNode
- Throws:
IOException
-
isFolderish
public boolean isFolderish()
- Specified by:
isFolderish
in interfaceSourceNode
-
getName
public String getName()
- Specified by:
getName
in interfaceSourceNode
-
getSourcePath
public String getSourcePath()
- Specified by:
getSourcePath
in interfaceSourceNode
-
getFile
public File getFile()
-
-