public class SimpleBlobHolder extends AbstractBlobHolder
BlobHolder implementation that simply wraps a detached Blob.| Modifier and Type | Field and Description | 
|---|---|
protected List<Blob> | 
blobs  | 
protected Calendar | 
creationDate  | 
| Constructor and Description | 
|---|
SimpleBlobHolder()  | 
SimpleBlobHolder(Blob blob)  | 
SimpleBlobHolder(List<Blob> blobs)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
getBasePath()  | 
Blob | 
getBlob()
Returns the Blob held inside the object. 
 | 
List<Blob> | 
getBlobs()
Returns a list of blobs, if holder implementation supports multiple blobs. 
 | 
Calendar | 
getModificationDate()
Returns the held blob modification date. 
 | 
Map<String,Serializable> | 
getProperties()
Returns all properties as a Map. 
 | 
Serializable | 
getProperty(String name)
Returns a named property. 
 | 
protected void | 
init(List<Blob> blobs)  | 
getFilePath, getHash, getMD5Digest, setBlobprotected Calendar creationDate
public SimpleBlobHolder()
public SimpleBlobHolder(List<Blob> blobs)
public SimpleBlobHolder(Blob blob)
public Blob getBlob()
BlobHoldergetBlob in interface BlobHoldergetBlob in class AbstractBlobHolderpublic List<Blob> getBlobs()
BlobHoldergetBlobs in interface BlobHoldergetBlobs in class AbstractBlobHolderprotected String getBasePath()
getBasePath in class AbstractBlobHolderpublic Calendar getModificationDate()
BlobHoldergetModificationDate in interface BlobHoldergetModificationDate in class AbstractBlobHolderpublic Serializable getProperty(String name)
BlobHolderpublic Map<String,Serializable> getProperties()
BlobHolderCopyright © 2019 Nuxeo. All rights reserved.