Class DeserializingConverter

  • java.lang.Object
    • Constructor Detail

      • DeserializingConverter

        public DeserializingConverter()
        Create a default DeserializingConverter that uses standard Java deserialization.
      • DeserializingConverter

        public DeserializingConverter(Deserializer<Object> deserializer)
        Create a DeserializingConverter that delegates to the provided Deserializer.
    • Method Detail

      • convert

        public Object convert(byte[] source)
        Description copied from interface: Converter
        Convert the source of type S to target type T.
        Specified by:
        convert in interface  Converter<byte[],Object>
        source - the source object to convert, which must be an instance of S
        the converted object, which must be an instance of T