/**
* Copyright 2016 ZuInnoTe (Jörn Franke) <zuinnote@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*    http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/

package org.zuinnote.hadoop.office.format.mapreduce;

import java.io.DataOutputStream;
import java.io.IOException;

import java.security.GeneralSecurityException;

import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;


import org.apache.hadoop.conf.Configuration;

import org.zuinnote.hadoop.office.format.common.parser.FormatNotUnderstoodException;

import org.zuinnote.hadoop.office.format.common.writer.InvalidWriterConfigurationException;
import org.zuinnote.hadoop.office.format.common.writer.InvalidCellSpecificationException;


/**
* This class writes Excel files in the old Excel format and in the new Excel format. 
*
*
**/

public class ExcelRecordWriter<NullWritable,SpreadSheetCellDAO>  extends AbstractSpreadSheetDocumentRecordWriter<NullWritable,SpreadSheetCellDAO>  {
private static final Log LOG = LogFactory.getLog(ExcelRecordWriter.class.getName());

/*
* Instantiate the constructor of AbstractSpreadSheetDocumentRecordWriter
*
*/
public ExcelRecordWriter(DataOutputStream out, String fileName, Configuration conf) throws IOException,InvalidWriterConfigurationException,InvalidCellSpecificationException,FormatNotUnderstoodException,GeneralSecurityException {
	super(out,fileName,conf);
}


}

@@ -714,32 +714,61 @@
 .io.IOException;
+%0Aimport java.io.Serializable;
 %0A%0Aimport java.se
@@ -1450,16 +1450,40 @@
 llDAO%3E  
+implements Serializable 
 %7B%0Aprivat

make class serializable for Spark