public class ScanFileBlobHolder extends SimpleBlobHolder
BlobHolder
- stores properties extracted
from XML - stores documentType extracted from XMLConstructor 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() |
getBlob, getBlobs, getModificationDate
getFilePath, getHash, setBlob
public ScanFileBlobHolder(List<Blob> blobs, Map<String,Serializable> properties, String targetType)
public Serializable getProperty(String name) throws ClientException
BlobHolder
getProperty
in interface BlobHolder
getProperty
in class SimpleBlobHolder
ClientException
public Map<String,Serializable> getProperties()
BlobHolder
getProperties
in interface BlobHolder
getProperties
in class SimpleBlobHolder
public String getTargetType()
Copyright © 2013 Nuxeo SA. All Rights Reserved.