public class JSONObjectBlobDecoder extends Object implements JSONBlobDecoder
Format is:
{
"data": "http://localhost:8080/nuxeo/nxfile/REPOSITORY/DOC_ID/file:content"
}
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_FIELD_NAME |
| Constructor and Description |
|---|
JSONObjectBlobDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
getBlobFromJSON(com.fasterxml.jackson.databind.node.ObjectNode jsonObject) |
protected Blob |
getBlobFromURL(String url) |
public static final String DATA_FIELD_NAME
public JSONObjectBlobDecoder()
public Blob getBlobFromJSON(com.fasterxml.jackson.databind.node.ObjectNode jsonObject)
getBlobFromJSON in interface JSONBlobDecoderprotected Blob getBlobFromURL(String url)
Copyright © 2019 Nuxeo. All rights reserved.