org.springframework.batch.item.file.mapping
Interface FieldSetCreator

All Known Implementing Classes:
PassThroughFieldSetMapper

public interface FieldSetCreator

Strategy interface for mapping between arbitrary objects and FieldSet. Similar to a LineTokenizer, but the input is generally a domain object, not a String.

Author:
Dave Syer

Method Summary
 FieldSet mapItem(Object data)
           
 

Method Detail

mapItem

FieldSet mapItem(Object data)
Parameters:
data - an Object to convert.
Returns:
a FieldSet created from the input.


Copyright © 2008 SpringSource. All Rights Reserved.