From 18dcbd6a70e91cf939000e54f6070f7f99b03b7c Mon Sep 17 00:00:00 2001 From: dsyer Date: Sun, 21 Oct 2007 15:28:51 +0000 Subject: [PATCH] IN PROGRESS - issue BATCH-145: Move CollectionItemProvider to infrastructure from samples http://opensource.atlassian.com/projects/spring/browse/BATCH-145 --- .../batch/io/file/FieldSetMapper.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/infrastructure/src/main/java/org/springframework/batch/io/file/FieldSetMapper.java b/infrastructure/src/main/java/org/springframework/batch/io/file/FieldSetMapper.java index 1d09805bf..c6b913a80 100644 --- a/infrastructure/src/main/java/org/springframework/batch/io/file/FieldSetMapper.java +++ b/infrastructure/src/main/java/org/springframework/batch/io/file/FieldSetMapper.java @@ -21,9 +21,21 @@ package org.springframework.batch.io.file; * Interface that is used to map data obtained from a file into an object. * * @author tomas.slanina + * @author Dave Syer * */ public interface FieldSetMapper { + + /** + * Marker for the beginning of a multi-object record. + */ + static Object BEGIN_RECORD = new Object(); + + /** + * Marker for the end of a multi-object record. + */ + static Object END_RECORD = new Object(); + /** * Method used to map data obtained from a file into an object. */