Package org.nuxeo.ecm.automation.core.io
Class BlobJsonReader
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<Blob>
org.nuxeo.ecm.automation.core.io.BlobJsonReader
- All Implemented Interfaces:
Marshaller<Blob>
,Reader<Blob>
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
-
Constructor Details
-
BlobJsonReader
public BlobJsonReader()
-
-
Method Details
-
read
Description copied from class:AbstractJsonReader
Implement this method, read the entity data in the providedJsonNode
and return corresponding java object.- Specified by:
read
in classAbstractJsonReader<Blob>
- Parameters:
jn
- A ready to useJsonNode
.- Returns:
- The unmarshalled entity.
- Throws:
IOException
-