wicket.contrib.jasperreports
Class JRRtfResource
java.lang.Object
org.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.apache.wicket.markup.html.DynamicWebResource
wicket.contrib.jasperreports.JRResource
wicket.contrib.jasperreports.JRRtfResource
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener
public final class JRRtfResource
- extends JRResource
Resource class for jasper reports RTF resources.
- Author:
- Eelco Hillenius
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.apache.wicket.markup.html.DynamicWebResource |
org.apache.wicket.markup.html.DynamicWebResource.ResourceState |
| Fields inherited from interface org.apache.wicket.IResourceListener |
INTERFACE |
|
Method Summary |
java.lang.String |
getContentType()
|
java.lang.String |
getExtension()
Returns the extension for the resource's file. |
net.sf.jasperreports.engine.JRAbstractExporter |
newExporter()
Called by getData to obtain an exporter instance. |
| Methods inherited from class wicket.contrib.jasperreports.JRResource |
getConnectionProvider, getFileName, getJasperReport, getReportDataSource, getReportParameters, getResourceState, newJasperPrint, setConnectionProvider, setFileName, setHeaders, setJasperReport, setReportDataSource, setReportParameters |
| Methods inherited from class org.apache.wicket.markup.html.DynamicWebResource |
getLocale, getResourceStream |
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
configureResponse, getCacheDuration |
| Methods inherited from class org.apache.wicket.Resource |
getParameters, invalidate, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRRtfResource
public JRRtfResource()
- Construct without a report. You must provide a report before you can use
this resource.
JRRtfResource
public JRRtfResource(java.io.InputStream report)
- Construct.
- Parameters:
report - the report input stream
JRRtfResource
public JRRtfResource(java.net.URL report)
- Construct.
- Parameters:
report - the report input stream
JRRtfResource
public JRRtfResource(java.io.File report)
- Construct.
- Parameters:
report - the report input stream
newExporter
public net.sf.jasperreports.engine.JRAbstractExporter newExporter()
- Description copied from class:
JRResource
- Called by getData to obtain an exporter instance.
- Specified by:
newExporter in class JRResource
- Returns:
- an exporter instance
- See Also:
JRResource.newExporter()
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType in class JRResource
- Returns:
- The content type of the reports
- See Also:
JRResource.getContentType()
getExtension
public java.lang.String getExtension()
- Description copied from class:
JRResource
- Returns the extension for the resource's file. This string should not
contain the leading "."
- Specified by:
getExtension in class JRResource
- Returns:
- The extension for the resource's file.
- See Also:
JRResource.getExtension()
Copyright © 2005-2010. All Rights Reserved.