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.String
getContentType(java.lang.String type)
return the content type for specific type For example , xls => "application/vnd.ms-excel";java.lang.String
getFormat(java.lang.String type)
Return the file extension name.net.sf.jasperreports.engine.JRExporter
getJRExporter(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:JasperreportExporterFactory
Currently Supported type list.- xml
- html
- rtf
- xls
- jxl
- csv
- odt
- xlsx
- docx
- graphic2d
- ods
- pptx
- txt
- xhtml
- Specified by:
getJRExporter
in interfaceJasperreportExporterFactory
- Returns:
- JRExporter
-
getContentType
public java.lang.String getContentType(java.lang.String type)
Description copied from interface:JasperreportExporterFactory
return the content type for specific type For example , xls => "application/vnd.ms-excel";- Specified by:
getContentType
in interfaceJasperreportExporterFactory
- Returns:
- String
-
getFormat
public java.lang.String getFormat(java.lang.String type)
Description copied from interface:JasperreportExporterFactory
Return the file extension name. For example , jxl => "xls" , pdf => "pdf";- Specified by:
getFormat
in interfaceJasperreportExporterFactory
- Returns:
- String
-
-