org.springframework.data.convert
Interface EntityReader<T,S>
- All Known Subinterfaces:
- EntityConverter<E,P,T,S>
public interface EntityReader<T,S>
Interface to read object from store specific sources.
- Author:
- Oliver Gierke
Method Summary |
|
read(Class<R> type,
S source)
Reads the given source into the given type. |
read
<R extends T> R read(Class<R> type,
S source)
- Reads the given source into the given type.
- Parameters:
type
- they type to convert the given source to.source
- the source to create an object of the given type from.
- Returns:
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.