public class SimpleCsvExporterConfiguration extends SimpleExporterConfiguration implements CsvExporterConfiguration
PROPERTY_FIELD_DELIMITER, PROPERTY_FIELD_ENCLOSURE, PROPERTY_FORCE_FIELD_ENCLOSURE, PROPERTY_RECORD_DELIMITER, PROPERTY_WRITE_BOMPROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTS| Constructor and Description |
|---|
SimpleCsvExporterConfiguration() |
| 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.
|
void |
setFieldDelimiter(String fieldDelimiter) |
void |
setFieldEnclosure(String fieldEnclosure) |
void |
setForceFieldEnclosure(Boolean forceFieldEnclosure) |
void |
setRecordDelimiter(String recordDelimiter) |
void |
setWriteBOM(Boolean isWriteBOM) |
isOverrideHints, setOverrideHintsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOverrideHintspublic String getFieldDelimiter()
CsvExporterConfigurationgetFieldDelimiter in interface CsvExporterConfigurationCsvExporterConfiguration.PROPERTY_FIELD_DELIMITERpublic void setFieldDelimiter(String fieldDelimiter)
public String getFieldEnclosure()
CsvExporterConfigurationgetFieldEnclosure in interface CsvExporterConfigurationCsvExporterConfiguration.PROPERTY_FIELD_ENCLOSUREpublic void setFieldEnclosure(String fieldEnclosure)
public String getRecordDelimiter()
CsvExporterConfigurationgetRecordDelimiter in interface CsvExporterConfigurationCsvExporterConfiguration.PROPERTY_RECORD_DELIMITERpublic void setRecordDelimiter(String recordDelimiter)
public Boolean isWriteBOM()
CsvExporterConfigurationisWriteBOM in interface CsvExporterConfigurationCsvExporterConfiguration.PROPERTY_WRITE_BOMpublic void setWriteBOM(Boolean isWriteBOM)
public Boolean getForceFieldEnclosure()
CsvExporterConfigurationfalse.getForceFieldEnclosure in interface CsvExporterConfigurationCsvExporterConfiguration.PROPERTY_FORCE_FIELD_ENCLOSUREpublic void setForceFieldEnclosure(Boolean forceFieldEnclosure)
Copyright © 2017. All rights reserved.