public class SimpleBlobHolder extends AbstractBlobHolder
BlobHolder implementation that simply wraps a detached Blob.| Constructor and Description |
|---|
SimpleBlobHolder() |
SimpleBlobHolder(Blob blob) |
SimpleBlobHolder(List<Blob> blobs) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getFilePath, getHash, setBlobpublic SimpleBlobHolder()
public SimpleBlobHolder(Blob blob)
public Blob getBlob() throws ClientException
BlobHoldergetBlob in interface BlobHoldergetBlob in class AbstractBlobHolderClientExceptionpublic List<Blob> getBlobs() throws ClientException
BlobHoldergetBlobs in interface BlobHoldergetBlobs in class AbstractBlobHolderClientExceptionpublic Calendar getModificationDate() throws ClientException
BlobHoldergetModificationDate in interface BlobHoldergetModificationDate in class AbstractBlobHolderClientExceptionpublic Serializable getProperty(String name) throws ClientException
BlobHolderClientExceptionpublic Map<String,Serializable> getProperties()
BlobHolderCopyright © 2011 Nuxeo SA. All Rights Reserved.