public final class JasperReportImageOutputFormat extends AbstractJasperReportOutputFormat implements OutputFormat
AbstractJasperReportOutputFormat.Print| Constructor and Description |
|---|
JasperReportImageOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExport(java.io.OutputStream outputStream,
AbstractJasperReportOutputFormat.Print print)
Export the report to the output stream.
|
java.lang.String |
getContentType()
The content type of the output.
|
java.lang.String |
getFileSuffix()
The file suffix to use when writing to a file.
|
void |
setFileSuffix(java.lang.String fileSuffix) |
void |
setImageType(int imageType)
One of
BufferedImage TYPE_ values. |
getJasperPrint, printclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprintpublic java.lang.String getContentType()
OutputFormatgetContentType in interface OutputFormatpublic void setFileSuffix(java.lang.String fileSuffix)
public java.lang.String getFileSuffix()
OutputFormatgetFileSuffix in interface OutputFormatprotected void doExport(java.io.OutputStream outputStream,
AbstractJasperReportOutputFormat.Print print)
throws net.sf.jasperreports.engine.JRException,
java.io.IOException
AbstractJasperReportOutputFormatdoExport in class AbstractJasperReportOutputFormatoutputStream - the output stream to export toprint - the reportnet.sf.jasperreports.engine.JRExceptionjava.io.IOExceptionpublic void setImageType(int imageType)
BufferedImage TYPE_ values.imageType - the buffered image type to create.