Also: SpringCore
public interface

Deserializer

org.springframework.core.serializer.Deserializer<T>
Known Indirect Subclasses

Class Overview

A strategy interface for converting from data in an InputStream to an Object.

Summary

Public Methods
abstract T deserialize(InputStream inputStream)
Read (assemble) an object of type T from the given InputStream.

Public Methods

public abstract T deserialize (InputStream inputStream)

Also: SpringCore

Read (assemble) an object of type T from the given InputStream.

Note: Implementations should not close the given InputStream (or any decorators of that InputStream) but rather leave this up to the caller.

Parameters
inputStream the input stream
Returns
  • the deserialized object
Throws
IOException in case of errors reading from the stream