Package org.nuxeo.runtime.codec
Interface CodecService
-
- All Known Implementing Classes:
CodecServiceImpl
public interface CodecService
Gives access to coder/decoder for a class .- Since:
- 10.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Codec<T>
getCodec(String codecName, Class<T> objectClass)
Returns a codec able to code and decode object of type T
-
-
-
Method Detail
-
getCodec
<T> Codec<T> getCodec(String codecName, Class<T> objectClass)
Returns a codec able to code and decode object of type T- Type Parameters:
T
- The class name of the object- Parameters:
codecName
- the name of the registered codec implementationobjectClass
- the object class of the object to encode decode
-
-