public interface CsvExporterConfiguration extends ExporterConfiguration
JRCsvExporter
,
JRCsvMetadataExporter
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_FIELD_DELIMITER
Property whose value is used as default for the
getFieldDelimiter() export configuration setting. |
static String |
PROPERTY_FIELD_ENCLOSURE
Property whose value is used as default for the
getFieldEnclosure() export configuration setting. |
static String |
PROPERTY_FORCE_FIELD_ENCLOSURE
Property whose value is used as default for the
getForceFieldEnclosure() export configuration setting. |
static String |
PROPERTY_RECORD_DELIMITER
Property whose value is used as default for the
getRecordDelimiter() export configuration setting. |
static String |
PROPERTY_WRITE_BOM
Property whose value is used as default for the
isWriteBOM() export configuration setting. |
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS
Modifier and Type | Method and Description |
---|---|
String |
getFieldDelimiter()
Returns the string representing the character or sequence of characters to be used to delimit two fields on the same record.
|
String |
getFieldEnclosure()
Returns a string representing the character to be used to enclose a field value on a record.
|
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: "").
|
String |
getRecordDelimiter()
Returns the string representing the character or sequence of characters to be used to delimit two records.
|
Boolean |
isWriteBOM()
Specifies whether the exporter should put a BOM character at the beginning of the output.
|
isOverrideHints
static final String PROPERTY_FIELD_DELIMITER
getFieldDelimiter()
export configuration setting.
The default is a comma character.JRPropertiesUtil
,
Constant Field Valuesstatic final String PROPERTY_RECORD_DELIMITER
getRecordDelimiter()
export configuration setting.
The default is a character return (\n).JRPropertiesUtil
,
Constant Field Valuesstatic final String PROPERTY_WRITE_BOM
isWriteBOM()
export configuration setting.
The default is false
.JRPropertiesUtil
,
Constant Field Valuesstatic final String PROPERTY_FIELD_ENCLOSURE
getFieldEnclosure()
export configuration setting.
Default value is ".JRPropertiesUtil
,
Constant Field Valuesstatic final String PROPERTY_FORCE_FIELD_ENCLOSURE
getForceFieldEnclosure()
export configuration setting.
Default value is false
.JRPropertiesUtil
,
Constant Field ValuesString getFieldDelimiter()
PROPERTY_FIELD_DELIMITER
String getFieldEnclosure()
PROPERTY_FIELD_ENCLOSURE
Boolean getForceFieldEnclosure()
false
.PROPERTY_FORCE_FIELD_ENCLOSURE
String getRecordDelimiter()
PROPERTY_RECORD_DELIMITER
Boolean isWriteBOM()
PROPERTY_WRITE_BOM
Copyright © 2017. All rights reserved.