BATCH-290: added getter for resource in SimpleFlatFileItemReader

This commit is contained in:
lucasward
2008-01-24 17:07:58 +00:00
parent afab3b4dd7
commit 373efb2856

View File

@@ -100,6 +100,15 @@ public class SimpleFlatFileItemReader extends AbstractItemReader implements Item
path = path.substring(0,20)+"..."+path.substring(path.length());
}
}
/**
* Getter for the resource property.
*
* @return the {@link Resource} used by this ItemReader.
*/
public Resource getResource(){
return resource;
}
/**
* Public setter for the recordSeparatorPolicy. Used to determine where the