net.sf.jasperreports.jsf.engine
Interface Exporter

All Known Implementing Classes:
CsvExporter, DocxExporter, ExporterBase, HtmlExporter, JExcelApiExporter, PdfExporter, RtfExporter, TextExporter, XlsExporter, XmlExporter

public interface Exporter

The Exporter interface.

Author:
A. Alonso Dominguez

Method Summary
 void export(javax.faces.context.FacesContext context, UIReport component, OutputStream stream)
          Export.
 Collection<ContentType> getContentTypes()
          Content type of the output generated by this exporter.
 

Method Detail

getContentTypes

Collection<ContentType> getContentTypes()
Content type of the output generated by this exporter.

Returns:
the exporter's content type.

export

void export(javax.faces.context.FacesContext context,
            UIReport component,
            OutputStream stream)
            throws IOException,
                   ExporterException
Export.

Parameters:
context - the context
component - the report component
stream - the stream
Throws:
IOException - Signals that an I/O exception has occurred.
ExporterException - the exporter exception


Copyright © 2011 SourceForge.net. All Rights Reserved.