public final void addDeserializer ( @ NotNull final SerializedDataType type , final String contentType , @ NotNull final Deserializer deserializer ) { Contract . requireArgNotNull ( "type" , type ) ; Contract . requireArgNotNull ( "contentType" , contentType ) ; Contract . requireArgNotNull ( "deserializer" , deserializer ) ; final Key key = new Key ( type , contentType ) ; desMap . put ( key , deserializer ) ; }
Adds a new deserializer to the registry .