I have the below requirement but am not able to decide on the approach to take:
I need to write data to a fixed format out put file where each record spans over mult
you can do it in CustomExtractor.
for Example:
public Object[] extract(T item) { List values = new ArrayList(); BeanWrapper bw = new BeanWrapperImpl(item); for (String propertyName : this.names) { values.add( bw.getPropertyValue(propertyName) + "\r\n"); } return values.toArray(); }