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 java.lang.Object implements JasperreportExporterFactory
-
-
Constructor Summary
Constructors Constructor Description JasperreporteExporterImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType(java.lang.String type)return the content type for specific type For example , xls => "application/vnd.ms-excel";java.lang.StringgetFormat(java.lang.String type)Return the file extension name.net.sf.jasperreports.engine.JRExportergetJRExporter(java.lang.String type)Currently Supported type list.
-
-
-
Method Detail
-
getJRExporter
public net.sf.jasperreports.engine.JRExporter getJRExporter(java.lang.String type)
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
public java.lang.String getContentType(java.lang.String type)
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
public java.lang.String getFormat(java.lang.String type)
Description copied from interface:JasperreportExporterFactoryReturn the file extension name. For example , jxl => "xls" , pdf => "pdf";- Specified by:
getFormatin interfaceJasperreportExporterFactory- Returns:
- String
-
-