Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.core.serializer.support
Class DeserializingConverter

    java.lang.Object
      org.springframework.core.serializer.support.DeserializingConverter

All Implemented Interfaces:
  Converter<byte[],java.lang.Object>

    public class DeserializingConverter

extends java.lang.Object
implements Converter<byte[],java.lang.Object>

A `Converter` that delegates to a `Deserializer` to convert data in a byte array to an object.

Since:
  3.0.5
Author:
  Gary Russell, Mark Fisher

Constructor Summary
`DeserializingConverter()` Create a default DeserializingConverter that uses standard Java deserialization.
`DeserializingConverter(Deserializer<java.lang.Object> deserializer)` Create a DeserializingConverter that delegates to the provided `Deserializer`.

Method Summary
`java.lang.Object` | `convert(byte[] source)` Convert the source of type S to target type T.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DeserializingConverter

    public DeserializingConverter()

  Create a default DeserializingConverter that uses standard Java deserialization.

### DeserializingConverter

    public DeserializingConverter(Deserializer<java.lang.Object> deserializer)

  Create a DeserializingConverter that delegates to the provided `Deserializer`.

Method Detail

### convert

    public java.lang.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[],java.lang.Object>`
  Parameters:
    `source` - the source object to convert, which must be an instance of S
  Returns:
    the converted object, which must be an instance of T

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD