public class SimpleCsvExporterConfiguration extends SimpleExporterConfiguration implements CsvExporterConfiguration
PROPERTY_FIELD_DELIMITER, PROPERTY_FIELD_ENCLOSURE, PROPERTY_FORCE_FIELD_ENCLOSURE, PROPERTY_RECORD_DELIMITER, PROPERTY_WRITE_BOM
PROPERTY_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, setOverrideHints
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOverrideHints
public String getFieldDelimiter()
CsvExporterConfiguration
getFieldDelimiter
in interface CsvExporterConfiguration
CsvExporterConfiguration.PROPERTY_FIELD_DELIMITER
public void setFieldDelimiter(String fieldDelimiter)
public String getFieldEnclosure()
CsvExporterConfiguration
getFieldEnclosure
in interface CsvExporterConfiguration
CsvExporterConfiguration.PROPERTY_FIELD_ENCLOSURE
public void setFieldEnclosure(String fieldEnclosure)
public String getRecordDelimiter()
CsvExporterConfiguration
getRecordDelimiter
in interface CsvExporterConfiguration
CsvExporterConfiguration.PROPERTY_RECORD_DELIMITER
public void setRecordDelimiter(String recordDelimiter)
public Boolean isWriteBOM()
CsvExporterConfiguration
isWriteBOM
in interface CsvExporterConfiguration
CsvExporterConfiguration.PROPERTY_WRITE_BOM
public void setWriteBOM(Boolean isWriteBOM)
public Boolean getForceFieldEnclosure()
CsvExporterConfiguration
false
.getForceFieldEnclosure
in interface CsvExporterConfiguration
CsvExporterConfiguration.PROPERTY_FORCE_FIELD_ENCLOSURE
public void setForceFieldEnclosure(Boolean forceFieldEnclosure)
Copyright © 2016. All rights reserved.