Package org.zkoss.zkex.zul
Class Jasperreport.JasperreporteExporterImpl
java.lang.Object
org.zkoss.zkex.zul.Jasperreport.JasperreporteExporterImpl
- All Implemented Interfaces:
JasperreportExporterFactory
- Enclosing class:
- Jasperreport
public class Jasperreport.JasperreporteExporterImpl
extends Object
implements JasperreportExporterFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentType(String type) return the content type for specific type For example , xls => "application/vnd.ms-excel";Return the file extension name.net.sf.jasperreports.engine.JRExportergetJRExporter(String type) Currently Supported type list.
-
Constructor Details
-
JasperreporteExporterImpl
public JasperreporteExporterImpl()
-
-
Method Details
-
getJRExporter
Description copied from interface:JasperreportExporterFactoryCurrently Supported type list.- xml
- html
- rtf
- xls
- jxl
- csv
- odt
- xlsx
- docx
- graphic2d
- ods
- pptx
- txt
- xhtml
- Specified by:
getJRExporterin interfaceJasperreportExporterFactory- Returns:
- JRExporter
-
getContentType
Description copied from interface:JasperreportExporterFactoryreturn the content type for specific type For example , xls => "application/vnd.ms-excel";- Specified by:
getContentTypein interfaceJasperreportExporterFactory- Returns:
- String
-
getFormat
Description copied from interface:JasperreportExporterFactoryReturn the file extension name. For example , jxl => "xls" , pdf => "pdf";- Specified by:
getFormatin interfaceJasperreportExporterFactory- Returns:
- String
-