Package net.sf.jasperreports.export
Interface CsvMetadataReportConfiguration
- All Superinterfaces:
CommonExportConfiguration
,CsvReportConfiguration
,ReportExportConfiguration
- All Known Implementing Classes:
SimpleCsvMetadataReportConfiguration
Interface containing settings used by the metadata based CSV exporter.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Properties having this prefix contain comma-separated column names and are used as default for thegetColumnNames()
export configuration setting.static final String
Property whose value is used as default for theisWriteHeader()
export configuration setting.Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
Fields inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
PROPERTY_IGNORE_PAGE_MARGINS
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns an array of strings representing the comma-separated names of the columns that should be exported.Returns a boolean that specifies whether the export header (the column names) should be written or not.Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
Methods inherited from interface net.sf.jasperreports.export.ReportExportConfiguration
getEndPageIndex, getExporterFilter, getHyperlinkProducerFactory, getOffsetX, getOffsetY, getPageIndex, getProgressMonitor, getStartPageIndex
-
Field Details
-
PROPERTY_WRITE_HEADER
Property whose value is used as default for theisWriteHeader()
export configuration setting.The property itself defaults to
false
.- See Also:
-
PROPERTY_COLUMN_NAMES_PREFIX
Properties having this prefix contain comma-separated column names and are used as default for thegetColumnNames()
export configuration setting.- See Also:
-
-
Method Details
-
isWriteHeader
Boolean isWriteHeader()Returns a boolean that specifies whether the export header (the column names) should be written or not.- See Also:
-
getColumnNames
String[] getColumnNames()Returns 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.
- See Also:
-