net.sf.jasperreports.engine.export
Class JRCsvMetadataExporterParameter

java.lang.Object
  extended by net.sf.jasperreports.engine.JRExporterParameter
      extended by net.sf.jasperreports.engine.export.JRCsvExporterParameter
          extended by net.sf.jasperreports.engine.export.JRCsvMetadataExporterParameter

public class JRCsvMetadataExporterParameter
extends JRCsvExporterParameter

Contains parameters useful for export in CSV format based on metadata.

Version:
$Id: JRCsvMetadataExporterParameter.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Narcis Marcu (narcism@users.sourceforge.net)

Field Summary
static JRCsvMetadataExporterParameter COLUMN_NAMES
          An array of strings representing the comma-separated names of the columns that should be exported.
static java.lang.String PROPERTY_COLUMN_NAME
          A string that represents the name for the column that should appear in the CSV export.
static java.lang.String PROPERTY_COLUMN_NAMES_PREFIX
          Properties having this prefix contain comma-separated column names.
static java.lang.String PROPERTY_DATA
          Property that specifies what value to associate with PROPERTY_COLUMN_NAME.
static java.lang.String PROPERTY_REPEAT_VALUE
          Property that specifies whether the value associated with PROPERTY_COLUMN_NAME should be repeated or not when it is missing.
static java.lang.String PROPERTY_WRITE_HEADER
          Property whose value is used as default for the PROPERTY_WRITE_HEADER export parameter.
static JRCsvMetadataExporterParameter WRITE_HEADER
          A boolean that specifies whether the export header (the column names) should be written or not.
 
Fields inherited from class net.sf.jasperreports.engine.export.JRCsvExporterParameter
FIELD_DELIMITER, PROPERTY_FIELD_DELIMITER, PROPERTY_RECORD_DELIMITER, RECORD_DELIMITER
 
Fields inherited from class net.sf.jasperreports.engine.JRExporterParameter
CHARACTER_ENCODING, CLASS_LOADER, END_PAGE_INDEX, FILE_RESOLVER, FILTER, FONT_MAP, HYPERLINK_PRODUCER_FACTORY, IGNORE_PAGE_MARGINS, INPUT_FILE, INPUT_FILE_NAME, INPUT_STREAM, INPUT_URL, JASPER_PRINT, JASPER_PRINT_LIST, OFFSET_X, OFFSET_Y, OUTPUT_FILE, OUTPUT_FILE_NAME, OUTPUT_STREAM, OUTPUT_STRING_BUFFER, OUTPUT_WRITER, PAGE_INDEX, PARAMETERS_OVERRIDE_REPORT_HINTS, PROGRESS_MONITOR, PROPERTY_CHARACTER_ENCODING, PROPERTY_EXPORT_PARAMETERS_OVERRIDE_REPORT_HINTS, PROPERTY_IGNORE_PAGE_MARGINS, START_PAGE_INDEX, URL_HANDLER_FACTORY
 
Constructor Summary
protected JRCsvMetadataExporterParameter(java.lang.String name)
           
 
Method Summary
 
Methods inherited from class net.sf.jasperreports.engine.JRExporterParameter
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLUMN_NAMES

public static final JRCsvMetadataExporterParameter COLUMN_NAMES
An array of strings representing the comma-separated names of the columns that should be exported. NOTE: The order of the columns is important and for accurate results they should be in the same order as the original columns.


PROPERTY_COLUMN_NAMES_PREFIX

public static final java.lang.String PROPERTY_COLUMN_NAMES_PREFIX
Properties having this prefix contain comma-separated column names.

See Also:
JRPropertiesUtil, Constant Field Values

WRITE_HEADER

public static final JRCsvMetadataExporterParameter WRITE_HEADER
A boolean that specifies whether the export header (the column names) should be written or not.

See Also:
JRPropertiesUtil

PROPERTY_WRITE_HEADER

public static final java.lang.String PROPERTY_WRITE_HEADER
Property whose value is used as default for the PROPERTY_WRITE_HEADER export parameter.

The property itself defaults to false.

See Also:
JRPropertiesUtil, Constant Field Values

PROPERTY_COLUMN_NAME

public static final java.lang.String PROPERTY_COLUMN_NAME
A string that represents the name for the column that should appear in the CSV export. It must be one of the values in COLUMN_NAMES, if provided.

See Also:
JRPropertiesUtil, Constant Field Values

PROPERTY_REPEAT_VALUE

public static final java.lang.String PROPERTY_REPEAT_VALUE
Property that specifies whether the value associated with PROPERTY_COLUMN_NAME should be repeated or not when it is missing.

The property itself defaults to false.

See Also:
JRPropertiesUtil, Constant Field Values

PROPERTY_DATA

public static final java.lang.String PROPERTY_DATA
Property that specifies what value to associate with PROPERTY_COLUMN_NAME.

The property itself defaults to the text value of the report element that this property is assigned to.

See Also:
JRPropertiesUtil, Constant Field Values
Constructor Detail

JRCsvMetadataExporterParameter

protected JRCsvMetadataExporterParameter(java.lang.String name)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com