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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Jasperreport.JasperreporteExporterImpl
public Jasperreport.JasperreporteExporterImpl()
getJRExporter
public net.sf.jasperreports.engine.JRExporter getJRExporter(String type)
- Description copied from interface:
JasperreportExporterFactory
- Currently Supported type list.
- pdf
- xml
- html
- rtf
- xls
- jxl
- csv
- odt
- xlsx
- docx
- graphic2d
- ods
- pptx
- txt
- xhtml
- Specified by:
getJRExporter
in interface JasperreportExporterFactory
- Returns:
- JRExporter
getContentType
public String getContentType(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 interface JasperreportExporterFactory
- Returns:
- String
getFormat
public String getFormat(String type)
- Description copied from interface:
JasperreportExporterFactory
- Return the file extension name.
For example , jxl => "xls" , pdf => "pdf";
- Specified by:
getFormat
in interface JasperreportExporterFactory
- Returns:
- String
Copyright © 2015. All Rights Reserved.