net.sf.jasperreports.jsf.engine.export
Class CsvExporter

java.lang.Object
  extended by net.sf.jasperreports.jsf.engine.export.ExporterBase
      extended by net.sf.jasperreports.jsf.engine.export.CsvExporter
All Implemented Interfaces:
Exporter

public final class CsvExporter
extends ExporterBase

Exporter implementation that generates a CSV data file.

Author:
A. Alonso Dominguez

Field Summary
static String ATTR_FIELD_DELIMITER
          The Constant ATTR_FIELD_DELIMITER.
static String ATTR_RECORD_DELIMITER
          The Constant ATTR_RECORD_DELIMITER.
static ContentType CONTENT_TYPE
          Exporter content type.
 
Fields inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
ATTR_CHARACTER_ENCODING, ATTR_END_PAGE_INDEX, ATTR_FILTER, ATTR_IGNORE_PAGE_MARGINS, ATTR_OFFSET_X, ATTR_OFFSET_Y, ATTR_PAGE_INDEX, ATTR_START_PAGE_INDEX
 
Constructor Summary
CsvExporter()
           
 
Method Summary
protected  net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context, UIReport component)
          Creates the jr exporter.
 Collection<ContentType> getContentTypes()
          Obtains the exporter content type.
 
Methods inherited from class net.sf.jasperreports.jsf.engine.export.ExporterBase
export, setParameterUsingAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTENT_TYPE

public static final ContentType CONTENT_TYPE
Exporter content type.


ATTR_FIELD_DELIMITER

public static final String ATTR_FIELD_DELIMITER
The Constant ATTR_FIELD_DELIMITER.

See Also:
Constant Field Values

ATTR_RECORD_DELIMITER

public static final String ATTR_RECORD_DELIMITER
The Constant ATTR_RECORD_DELIMITER.

See Also:
Constant Field Values
Constructor Detail

CsvExporter

public CsvExporter()
Method Detail

getContentTypes

public Collection<ContentType> getContentTypes()
Obtains the exporter content type.

Returns:
the exporter content type.

createJRExporter

protected net.sf.jasperreports.engine.JRExporter createJRExporter(javax.faces.context.FacesContext context,
                                                                  UIReport component)
Description copied from class: ExporterBase
Creates the jr exporter.

Specified by:
createJRExporter in class ExporterBase
Parameters:
context - the faces' context
component - the report component
Returns:
the jR exporter


Copyright © 2011 SourceForge.net. All Rights Reserved.