Package org.nuxeo.runtime.codec
Interface CodecFactory
-
- All Known Implementing Classes:
AvroCodecFactory
,AvroRecordCodecFactory
,NoCodecFactory
,SerializableCodecFactory
public interface CodecFactory
Factory to init and provide codec object.- Since:
- 10.2
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-