Class BlobIdSerializer
- java.lang.Object
-
- org.apache.jackrabbit.oak.json.BlobSerializer
-
- org.apache.jackrabbit.oak.plugins.blob.serializer.BlobIdSerializer
-
- All Implemented Interfaces:
BlobDeserializer
public class BlobIdSerializer extends BlobSerializer implements BlobDeserializer
Blob serializer which serializes blobs depending on type In memory blobs (having contentIdentity as null) would be serialized as base64 encoded string. For normal blobs there contentIdentity would be the serialized value
-
-
Constructor Summary
Constructors Constructor Description BlobIdSerializer(BlobStore blobStore)
-
-
-
Constructor Detail
-
BlobIdSerializer
public BlobIdSerializer(BlobStore blobStore)
-
-
Method Detail
-
serialize
public String serialize(Blob blob)
- Overrides:
serialize
in classBlobSerializer
-
deserialize
public Blob deserialize(String value)
- Specified by:
deserialize
in interfaceBlobDeserializer
-
-