Package net.sf.jasperreports.export
Interface CsvExporterConfiguration
- All Superinterfaces:
CommonExportConfiguration
,ExporterConfiguration
- All Known Subinterfaces:
CsvMetadataExporterConfiguration
- All Known Implementing Classes:
SimpleCsvExporterConfiguration
,SimpleCsvMetadataExporterConfiguration
Interface containing settings used by the CSV exporters.
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Property whose value is used as default for thegetEscapeFormula()
export configuration setting.static final String
Property whose value is used as default for thegetFieldDelimiter()
export configuration setting.static final String
Property whose value is used as default for thegetFieldEnclosure()
export configuration setting.static final String
Property whose value is used as default for thegetForceFieldEnclosure()
export configuration setting.static final String
Property whose value is used as default for thegetRecordDelimiter()
export configuration setting.static final String
Property whose value is used as default for theisWriteBOM()
export configuration setting.Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
-
Method Summary
Modifier and TypeMethodDescriptionReturns a flag that enforces field values containing formula to be escaped in order to be interpreted as pure text.Returns the string representing the character or sequence of characters to be used to delimit two fields on the same record.Returns a string representing the character to be used to enclose a field value on a record.Returns a flag that enforces all exported field values to be enclosed within a pair of enclosure characters (usually a pair of quotes: "").Returns the string representing the character or sequence of characters to be used to delimit two records.Specifies whether the exporter should put a BOM character at the beginning of the output.Methods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
Field Details
-
PROPERTY_FIELD_DELIMITER
Property whose value is used as default for thegetFieldDelimiter()
export configuration setting. The default is a comma character.- See Also:
-
PROPERTY_RECORD_DELIMITER
Property whose value is used as default for thegetRecordDelimiter()
export configuration setting. The default is a character return (\n).- See Also:
-
PROPERTY_WRITE_BOM
Property whose value is used as default for theisWriteBOM()
export configuration setting. The default isfalse
.- See Also:
-
PROPERTY_FIELD_ENCLOSURE
Property whose value is used as default for thegetFieldEnclosure()
export configuration setting. Default value is ".- See Also:
-
PROPERTY_FORCE_FIELD_ENCLOSURE
Property whose value is used as default for thegetForceFieldEnclosure()
export configuration setting. Default value isfalse
.- See Also:
-
PROPERTY_ESCAPE_FORMULA
Property whose value is used as default for thegetEscapeFormula()
export configuration setting. Default value isfalse
.- See Also:
-
-
Method Details
-
getFieldDelimiter
String getFieldDelimiter()Returns the string representing the character or sequence of characters to be used to delimit two fields on the same record.- See Also:
-
getFieldEnclosure
String getFieldEnclosure()Returns a string representing the character to be used to enclose a field value on a record. If this is a multi-character string, the first character only will be taken into account. White spaces are not considered. Default value is ".- See Also:
-
getForceFieldEnclosure
Boolean getForceFieldEnclosure()Returns a flag that enforces all exported field values to be enclosed within a pair of enclosure characters (usually a pair of quotes: ""). Default value isfalse
.- See Also:
-
getRecordDelimiter
String getRecordDelimiter()Returns the string representing the character or sequence of characters to be used to delimit two records.- See Also:
-
isWriteBOM
Boolean isWriteBOM()Specifies whether the exporter should put a BOM character at the beginning of the output.- See Also:
-
getEscapeFormula
Boolean getEscapeFormula()Returns a flag that enforces field values containing formula to be escaped in order to be interpreted as pure text. Default value isfalse
.- See Also:
-