Package org.springframework.batch.item
Class SpELItemKeyMapper<K,V>
- java.lang.Object
- org.springframework.batch.item.SpELItemKeyMapper<K,V>
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<V,K>
public class SpELItemKeyMapper<K,V> extends java.lang.Object implements org.springframework.core.convert.converter.Converter<V,K>
An implementation ofConverter
that uses SpEL to map a Value to a key- Since:
- 2.2
- Author:
- David Turanski
Constructor Summary
Constructors Constructor Description SpELItemKeyMapper(java.lang.String keyExpression)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
convert(V item)