Class FSBlobSerializer
- java.lang.Object
-
- org.apache.jackrabbit.oak.json.BlobSerializer
-
- org.apache.jackrabbit.oak.plugins.blob.serializer.FSBlobSerializer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,BlobDeserializer
public class FSBlobSerializer extends BlobSerializer implements BlobDeserializer, Closeable
Serializer which stores blobs in a FileDataStore format
-
-
Constructor Summary
Constructors Constructor Description FSBlobSerializer(File dir)
FSBlobSerializer(File dir, int maxInlineSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Blob
deserialize(String value)
String
serialize(Blob blob)
-
-
-
Method Detail
-
serialize
public String serialize(Blob blob)
- Overrides:
serialize
in classBlobSerializer
-
deserialize
public Blob deserialize(String value)
- Specified by:
deserialize
in interfaceBlobDeserializer
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-