public class ScanFileBlobHolder extends SimpleBlobHolder
BlobHolder - stores properties extracted from XML - stores documentType extracted
from XML| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Serializable> |
properties |
protected String |
targetType |
blobs, creationDate| Constructor and Description |
|---|
ScanFileBlobHolder(Blob blob,
String targetType) |
ScanFileBlobHolder(List<Blob> blobs,
Map<String,Serializable> properties,
String targetType) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Serializable> |
getProperties()
Returns all properties as a Map.
|
Serializable |
getProperty(String name)
Returns a named property.
|
String |
getTargetType() |
getBasePath, getBlob, getBlobs, getModificationDate, initgetFilePath, getHash, getMD5Digest, setBlobprotected final Map<String,Serializable> properties
protected String targetType
public ScanFileBlobHolder(List<Blob> blobs, Map<String,Serializable> properties, String targetType)
public ScanFileBlobHolder(Blob blob, String targetType)
public Serializable getProperty(String name)
BlobHoldergetProperty in interface BlobHoldergetProperty in class SimpleBlobHolderpublic Map<String,Serializable> getProperties()
BlobHoldergetProperties in interface BlobHoldergetProperties in class SimpleBlobHolderpublic String getTargetType()
Copyright © 2018 Nuxeo. All rights reserved.