public class BlobResource extends Object implements ImageResource
This implementation is mainly used for unit testing.
| Modifier and Type | Field and Description |
|---|---|
protected Blob |
blob |
protected String |
hash |
protected Calendar |
modified |
| Constructor and Description |
|---|
BlobResource(Blob blob) |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlob() |
String |
getHash() |
Calendar |
getModificationDate() |
public BlobResource(Blob blob)
public Blob getBlob()
getBlob in interface ImageResourcepublic String getHash()
getHash in interface ImageResourcepublic Calendar getModificationDate()
getModificationDate in interface ImageResourceCopyright © 2019 Nuxeo. All rights reserved.