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