public class ScanedFileSourceNode extends FileSourceNode
SourceNode
. Uses XML descriptors to get meta-data and binary files location.Modifier and Type | Field and Description |
---|---|
static boolean |
useXMLMapping |
Constructor and Description |
---|
ScanedFileSourceNode(File file) |
ScanedFileSourceNode(File file,
Map<String,Serializable> properties) |
ScanedFileSourceNode(File file,
ScanFileBlobHolder bh) |
Modifier and Type | Method and Description |
---|---|
BlobHolder |
getBlobHolder() |
List<SourceNode> |
getChildren() |
String |
getDescriptorFileName() |
String |
getName() |
getFile, getFileNameNoExt, getSourcePath, isFolderish
public ScanedFileSourceNode(File file)
public ScanedFileSourceNode(File file, ScanFileBlobHolder bh)
public ScanedFileSourceNode(File file, Map<String,Serializable> properties)
public BlobHolder getBlobHolder() throws IOException
getBlobHolder
in interface SourceNode
getBlobHolder
in class FileSourceNode
IOException
public List<SourceNode> getChildren() throws IOException
getChildren
in interface SourceNode
getChildren
in class FileSourceNode
IOException
public String getName()
getName
in interface SourceNode
getName
in class FileSourceNode
public String getDescriptorFileName()
Copyright © 2015 Nuxeo SA. All rights reserved.