mappingFileKey = new StreamFactoryKey(jobContext, streamMapping);
final StreamFactory streamFactory = getStreamFactory(streamFactoryLookup, mappingFileKey, mappingProperties);
final OutputStream outputStream = getOutputStream(CsvProperties.OVERWRITE);
final Writer outputWriter = charset == null ? new OutputStreamWriter(outputStream) :
new OutputStreamWriter(outputStream, charset);
beanWriter = streamFactory.createWriter(streamName, new BufferedWriter(outputWriter));
}
@Override
public void writeItems(final List<Object> items) throws Exception {
for (final Object e : items) {