Package org.nuxeo.runtime.codec
Class SerializableCodecFactory
- java.lang.Object
-
- org.nuxeo.runtime.codec.SerializableCodecFactory
-
- All Implemented Interfaces:
CodecFactory
public class SerializableCodecFactory extends Object implements CodecFactory
- Since:
- 10.2
-
-
Constructor Summary
Constructors Constructor Description SerializableCodecFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Map<String,String> options)
Initializes the codec factory using a map of options.<T> Codec<T>
newCodec(Class<T> objectClass)
Returns a codec object enables to encode/decode object ot class T.
-
-
-
Method Detail
-
init
public void init(Map<String,String> options)
Description copied from interface:CodecFactory
Initializes the codec factory using a map of options.- Specified by:
init
in interfaceCodecFactory
-
newCodec
public <T> Codec<T> newCodec(Class<T> objectClass)
Description copied from interface:CodecFactory
Returns a codec object enables to encode/decode object ot class T.- Specified by:
newCodec
in interfaceCodecFactory
-
-