public abstract class AbstractDefaultJasperRender extends Object implements ILinkJasperReport, Cloneable
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PARAMETER_JASPER_IMAGE_DIRECTORY |
protected static String |
PARAMETER_JASPER_VALUE |
protected static String |
PATH_SEPARATOR |
protected static String |
PLUGIN_NAME |
protected static String |
PROPERTY_EXPORT_CHARACTER_ENCODING |
protected static String |
PROPERTY_FILES_PATH |
protected static String |
PROPERTY_IMAGES_FILES_PATH |
protected static String |
REGEX_ID |
| Constructor and Description |
|---|
AbstractDefaultJasperRender() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBuffer(String strReportId,
javax.servlet.http.HttpServletRequest request)
Gives the data generated by Jasper
|
protected abstract byte[] |
getData(javax.servlet.http.HttpServletRequest request,
JasperReport report,
net.sf.jasperreports.engine.JasperPrint jasperPrint)
Gives data generated by Jasper
|
String |
getFileName(String strReportId)
Gives the name of the file generated by Jasper
|
String |
getLink(String strReportId)
Gives the link used to generate the report
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFileTypeprotected static final String PLUGIN_NAME
protected static final String PROPERTY_FILES_PATH
protected static final String PROPERTY_IMAGES_FILES_PATH
protected static final String PROPERTY_EXPORT_CHARACTER_ENCODING
protected static final String PARAMETER_JASPER_VALUE
protected static final String PARAMETER_JASPER_IMAGE_DIRECTORY
protected static final String REGEX_ID
protected static final String PATH_SEPARATOR
public String getLink(String strReportId)
getLink in interface ILinkJasperReportstrReportId - the report idpublic String getFileName(String strReportId)
getFileName in interface ILinkJasperReportstrReportId - the report idpublic byte[] getBuffer(String strReportId, javax.servlet.http.HttpServletRequest request)
getBuffer in interface ILinkJasperReportstrReportId - the report idrequest - the requestprotected abstract byte[] getData(javax.servlet.http.HttpServletRequest request,
JasperReport report,
net.sf.jasperreports.engine.JasperPrint jasperPrint)
throws net.sf.jasperreports.engine.JRException
request - the requestreport - the Jasper reportjasperPrint - the JasperPrintnet.sf.jasperreports.engine.JRException - if there is an exception during the treatmentCopyright © 2017 City of Paris. All rights reserved.