public class ScanedFileSourceNode extends FileSourceNode
SourceNode. Uses XML descriptors to get meta-data and binary files location.| Modifier and Type | Field and Description |
|---|---|
protected ScanFileBlobHolder |
bh |
protected Map<String,Serializable> |
properties |
protected static boolean |
useXMLMapping |
file| 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, isFolderishprotected Map<String,Serializable> properties
protected ScanFileBlobHolder bh
protected static boolean useXMLMapping
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 SourceNodegetBlobHolder in class FileSourceNodeIOExceptionpublic List<SourceNode> getChildren() throws IOException
getChildren in interface SourceNodegetChildren in class FileSourceNodeIOExceptionpublic String getName()
getName in interface SourceNodegetName in class FileSourceNodepublic String getDescriptorFileName()
Copyright © 2019 Nuxeo. All rights reserved.