Package org.zkoss.zkex.zul
Interface JasperreportExporterFactory
- All Known Implementing Classes:
Jasperreport.JasperreporteExporterImpl
public interface JasperreportExporterFactory
The factory for Jasper Reports.
- Since:
- 5.0.8
- Author:
- tony
-
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.
-
Method Details
-
getJRExporter
Currently Supported type list.- xml
- html
- rtf
- xls
- jxl
- csv
- odt
- xlsx
- docx
- graphic2d
- ods
- pptx
- txt
- xhtml
- Parameters:
type-- Returns:
- JRExporter
-
getFormat
Return the file extension name. For example , jxl => "xls" , pdf => "pdf";- Parameters:
type-- Returns:
- String
-
getContentType
return the content type for specific type For example , xls => "application/vnd.ms-excel";- Parameters:
type-- Returns:
- String
-