else if (format.equalsIgnoreCase("xls")) exporter = new JExcelApiExporter(); //exporter = new JRXlsExporter();
else if (format.equalsIgnoreCase("rtf")) exporter = new JRRtfExporter();
else if (format.equalsIgnoreCase("xml")) exporter = new JRXmlExporter();
else if (format.equalsIgnoreCase("txt")) exporter = new JRTextExporter();
else if (format.equalsIgnoreCase("pdf")) exporter = new JRPdfExporter();
else if (format.equalsIgnoreCase("JPG"))exporter = new JRJpegExporter();
else if (format.equalsIgnoreCase("JPGBASE64"))exporter = new JRImageBase64Exporter();
else exporter = new JRHtmlExporter();
}
return exporter;