public class ScanFileBlobHolder extends SimpleBlobHolder
BlobHolder
- stores properties extracted from XML - stores documentType extracted
from XMLModifier 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, init
getFilePath, getHash, getMD5Digest, setBlob
protected 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)
BlobHolder
getProperty
in interface BlobHolder
getProperty
in class SimpleBlobHolder
public Map<String,Serializable> getProperties()
BlobHolder
getProperties
in interface BlobHolder
getProperties
in class SimpleBlobHolder
public String getTargetType()
Copyright © 2018 Nuxeo. All rights reserved.